Last active
September 28, 2021 05:40
-
-
Save elevenpassin/98dc1c650491168398d71072e51fc55a to your computer and use it in GitHub Desktop.
SSH Config with multiple Identities
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User USER1 | |
IdentityFile ~/.ssh/id_rsa | |
Host WEBSITE1 | |
HostName example.com | |
User marypoppins | |
Host WEBSITE2 | |
HostName example2.com | |
User rodreiss | |
Host WEBSITE3 | |
HostName example3.com | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_rsa_web3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment