Displaying 1 result from an estimated 1 matches for "th1lmim".
2020 Jun 01
1
[Bug 3176] New: can't figure out how to test StrictHostKeyChecking accept-new
...works correctly, I got confused. How do I
pretend that the host key has changed? I thought it would be enough to
change the corresponding key in .ssh/known_hosts, but this just causes
a new entry to be added with the same HostKeyAlias:
# first I deleted the key from .ssh/known_hosts
$ grep TH1LmIM .ssh/known_hosts
[1]$ ssh -F /dev/null -o "StrictHostKeyChecking accept-new" -o
HostKeyAlias=foo ofb.net echo hi
Warning: Permanently added 'foo,104.197.242.163' (ECDSA) to the
list of known hosts.
hi
$ tail -n 1 .ssh/known_hosts
foo,104.197.242.163 ecdsa-sh...