Skip to content

Instantly share code, notes, and snippets.

@rpocklin
Created August 25, 2014 06:50
Show Gist options
  • Save rpocklin/09efefdb97c129c07d18 to your computer and use it in GitHub Desktop.
Save rpocklin/09efefdb97c129c07d18 to your computer and use it in GitHub Desktop.
How to skip manually trusting new hosts for VMs
Set StrictHostKeyChecking no in your ~/.ssh/config file, where it will be the default for only the current user. Or you can use it on the command line:
ssh -o StrictHostKeyChecking=no -l $user $host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment