Skip to content

Instantly share code, notes, and snippets.

@bhpayne
Last active June 27, 2019 15:37
Show Gist options
  • Save bhpayne/d94f0212cc0ab9d744fa46a9cb101616 to your computer and use it in GitHub Desktop.
Save bhpayne/d94f0212cc0ab9d744fa46a9cb101616 to your computer and use it in GitHub Desktop.
SSH config and command line

To turn off detection of MITM attacks, edit ~.ssh/config to include

StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null

Alternatively, on the command line use

ssh -o "StrictHostKeyChecking no" -o LogLevel=ERROR name@server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment