Posted By

koorb on 09/21/09


Tagged

ssh host know knowhost authenticity


Versions (?)

Disable SSH host key checking


 / 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.

  1. $ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user@192.168.0.100
  2. Warning: Permanently added '192.168.0.100' (RSA) to the list of known hosts.
  3. user@192.168.0.100's password:

Report this snippet  

You need to login to post a comment.