Ignore SSH host key checking

I have a range of IPs that I use for testing various Linux installations. This causes grief as each install gets its own SSH key. To tell SSH to ignore the key for a given IP address change your ~/.ssh/config

Host 192.168.0.*
    StrictHostKeyChecking no
    UserKnownHostsFile=/dev/null

Or if you just want to change it on a per connection basis at the command line:

ssh -o UserKnownHostsFile=/dev/null,StrictHostKeyChecking=no user@domain.com


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 54.234.2.94
To prevent spam please submit by clicking the kitten: