How to remove StrictHostKeyChecking in ssh

Add the following to the host block of your ~/.ssh/config:

StrictHostKeyChecking no

Example:

Host 101
      HostName yourip|hostname
      User youruserid
      IdentityFile /path/to/keyfile
      Port 22
      StrictHostKeyChecking no

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.