Friday, 14 June 2013

Disable strict SSH host checking on OS X

To disable strict host checking on OS X, create or edit ~/.ssh/config and add the following lines:

Host {IP Address}
   StrictHostKeyChecking no
   UserKnownHostsFile=/dev/null

A typical example could be:

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

No comments:

Post a Comment