Skip to content

Instantly share code, notes, and snippets.

@Darkflib
Created March 10, 2022 16:27
Show Gist options
  • Select an option

  • Save Darkflib/a2a40923d056d407792f166e162bb02f to your computer and use it in GitHub Desktop.

Select an option

Save Darkflib/a2a40923d056d407792f166e162bb02f to your computer and use it in GitHub Desktop.
Host github.com gist.github.com
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile /home/user/.ssh/id_rsa
# Override the key per repo using 'git config core.sshCommand "ssh -i ~/.ssh/id_rsa2"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment