Skip to content

Instantly share code, notes, and snippets.

@zioproto
Last active January 26, 2024 15:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zioproto/1324d4e5989b5f7a7071a78fdb401053 to your computer and use it in GitHub Desktop.
Save zioproto/1324d4e5989b5f7a7071a78fdb401053 to your computer and use it in GitHub Desktop.
ssh and scp without saving and ignoring fingerprints
alias oscp='scp -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no"'
alias ossh='ssh -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment