Skip to content

Instantly share code, notes, and snippets.

@h2ouw8n4
Created July 20, 2021 20:11
Show Gist options
  • Save h2ouw8n4/1e19d4f5375998b4da3ef88d00e75cff to your computer and use it in GitHub Desktop.
Save h2ouw8n4/1e19d4f5375998b4da3ef88d00e75cff to your computer and use it in GitHub Desktop.
SSH Config example for .ssh Directory
Host utility
HostName 192.168.1.1
User admin
IdentityFile ~/.ssh/mykey.pem
Host database
HostName 192.168.1.2
User admin
IdentityFile ~/.ssh/mykey.pem
Host *
IdentitiesOnly=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment