diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-10-11 22:12:44 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-10-12 11:22:55 +1100 |
commit | af5941ae9b013aac12585e84c4cf494f3728982f (patch) | |
tree | 878f91b3701e0c061d90979e328a6dda8ee226d5 /hostfile.c | |
parent | 6247812c76f70b2245f3c23f5074665b3d436cae (diff) | |
download | openssh-git-af5941ae9b013aac12585e84c4cf494f3728982f.tar.gz |
upstream: UpdateHostkeys: better detect manual host entries
Disable UpdateHostkeys if the known_hosts line has more than two
entries in the pattern-list. ssh(1) only writes "host" or "host,ip"
lines so anything else was added by a different tool or by a human.
ok markus@
OpenBSD-Commit-ID: e434828191fb5f3877d4887c218682825aa59820
Diffstat (limited to 'hostfile.c')
0 files changed, 0 insertions, 0 deletions