/ Published in: Bash
URL: http://linuxcommando.blogspot.com/2008/10/how-to-disable-ssh-host-key-checking.html
This method tricks SSH by configuring it to use an empty known_hosts file, and NOT to ask you to confirm the remote host identity key.
Expand |
Embed | Plain Text
$ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user@192.168.0.100 Warning: Permanently added '192.168.0.100' (RSA) to the list of known hosts. user@192.168.0.100's password:
You need to login to post a comment.
