]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Disable UpdateHostkeys when hostkey checking fails
authordjm@openbsd.org <djm@openbsd.org>
Wed, 7 Oct 2020 02:26:28 +0000 (02:26 +0000)
committerDamien Miller <djm@mindrot.org>
Wed, 7 Oct 2020 02:34:11 +0000 (13:34 +1100)
commit4aa2717d7517cff4bc423a6cfba3a2defb055aea
tree5812645d82a87094e04752cd5e36294e850788a5
parent04c06d04475f1f673e9d9743710d194453fe3888
upstream: Disable UpdateHostkeys when hostkey checking fails

If host key checking fails (i.e. a wrong host key is recorded for the
server) and the user elects to continue (via StrictHostKeyChecking=no),
then disable UpdateHostkeys for the session.

reminded by Mark D. Baushke; ok markus@

OpenBSD-Commit-ID: 98b524f121f4252309dd21becd8c4cacb0c6042a
sshconnect.c