Skip to content

Instantly share code, notes, and snippets.

@Dentrax
Created May 30, 2023 06:32
Show Gist options
  • Save Dentrax/6efa7e0da402af523f0b32723bf08cd1 to your computer and use it in GitHub Desktop.
Save Dentrax/6efa7e0da402af523f0b32723bf08cd1 to your computer and use it in GitHub Desktop.
~/.ssh/config for GitHub (macOS)
Host github.com
User git
Hostname github.com
AddKeysToAgent yes
IgnoreUnknown UseKeychain
UseKeychain yes
PreferredAuthentications publickey
IdentityFile /Users/USERNAME/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment