Disable SSH host key checking

/ Published in: Bash
Save to your folder(s)

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.

Copy this code and paste it in your HTML
  1. $ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user@
  2. Warning: Permanently added '' (RSA) to the list of known hosts.
  3. user@'s password:

URL: http://linuxcommando.blogspot.com/2008/10/how-to-disable-ssh-host-key-checking.html

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.