Skip to content

Instantly share code, notes, and snippets.

@JrogeT
Last active October 20, 2022 12:51
Show Gist options
  • Save JrogeT/fab0c7a9c6e102d37c381513a64a3a5f to your computer and use it in GitHub Desktop.
Save JrogeT/fab0c7a9c6e102d37c381513a64a3a5f to your computer and use it in GitHub Desktop.
shh configuration host names
# file ~/.ssh/config
# JrogeT
Host github.com
HostName github.com
User jroget
IdentitiesOnly=yes
PreferredAuthentications publickey
PasswordAuthentication no
IdentityFile ~/.ssh/jroget_github
Host gitlab.com
HostName gitlab.com
User jroge
IdentitiesOnly=yes
PreferredAuthentications publickey
PasswordAuthentication no
IdentityFile ~/.ssh/jroge_gitlab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment