Skip to content

Instantly share code, notes, and snippets.

@SvS30
Last active December 7, 2021 00:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SvS30/88f341e22a9124cf67f3c1fbfd49f491 to your computer and use it in GitHub Desktop.
Save SvS30/88f341e22a9124cf67f3c1fbfd49f491 to your computer and use it in GitHub Desktop.
settings for GitHub and GitLab SSH keys.
Host github.com
User your-username
Hostname github.com
PreferredAuthentications publickey
IdentityFile /path/where/the/private-key/is/saved
Host gitlab.com
User your-username
Hostname gitlab.com
PreferredAuthentications publickey
IdentityFile /path/where/the/private-key/is/saved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment