Difference between revisions of "ssh and ignore known hosts"

From thelinuxwiki
Jump to: navigation, search
(Created page with " 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. $ ssh -o UserKnownHostsFile=/dev/null...")

Revision as of 18:21, 22 April 2013


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.

$ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no <dest_host_or_ip>