Skip to content

Instantly share code, notes, and snippets.

@richarddunks
Forked from datapolitan/ssh_config_example.sh
Created March 7, 2023 03:23
Show Gist options
  • Save richarddunks/1970701e929bdc076d558640fd67349c to your computer and use it in GitHub Desktop.
Save richarddunks/1970701e929bdc076d558640fd67349c to your computer and use it in GitHub Desktop.
Example SSH config file
#user1 account
Host github.com-user1
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa
#user2 account
Host github.com-user2
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment