Difference between revisions of "ssh and ignore known hosts"
From thelinuxwiki
(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...") |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | ssh and ignore known_hosts file | |
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. | 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. |
Latest revision as of 18:22, 22 April 2013
ssh and ignore known_hosts file
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>