Getting sick of deleting keys out of my known_hosts file, so I tried to set this up in my ~/.ssh/config:
But it has no effect. If a key is present in known_hosts but changed, it craps out with the "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" message.
Next I tried uncommenting "StrictHostKeyChecking no" to /etc/ssh/ssh_config - same result.
Finally, even using the CLI option "-o StrictHostKeyChecking=no" doesn't work and errors the same way. And, If the key isn't present, it still gets auto-saved: "
>ssh -o StrictHostKeyChecking=no firstname.lastname@example.org
Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.
Do any of these options work for anyone else?
I'm using the latest SSH: "OpenSSH_6.2p1, OpenSSL 1.0.1e 11 Feb 2013" and kernel: "Linux tc-slim 3.8.10-1-ARCH #1 SMP PREEMPT Sat Apr 27 12:36:59 CEST 2013 x86_64 GNU/Linux".
Last edited by testcore (2013-05-03 03:52:11)
Found today that this issue is not arch-specific as I reproduced it on both a RHEL and a SLES box at work today. Will be submitting a bug report to openssh.
Still, I'm curious to know if anyone else can (or not) verify that this occurs on their machine - please post results if you have a sec to test. (Message me if you want a test case).
I'm experiencing the same bug, have you found a solution yet?