Skip to content

Instantly share code, notes, and snippets.

@ollytheninja
Last active April 5, 2022 04:19
Show Gist options
  • Save ollytheninja/40a7e35df73970d83a2e7d15e270a0b8 to your computer and use it in GitHub Desktop.
Save ollytheninja/40a7e35df73970d83a2e7d15e270a0b8 to your computer and use it in GitHub Desktop.
Handy defaults to add to your ~/.ssh/config file
Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
Host pi
HostName raspberrypi.local
User pi
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Host ssh.dev.azure.com
User git
PubkeyAcceptedAlgorithms +ssh-rsa
HostkeyAlgorithms +ssh-rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment