Skip to content

Instantly share code, notes, and snippets.

@abdullahkhilji
Created August 30, 2020 15:48
Show Gist options
  • Save abdullahkhilji/1edac6122d405b7d4b173fcb84610787 to your computer and use it in GitHub Desktop.
Save abdullahkhilji/1edac6122d405b7d4b173fcb84610787 to your computer and use it in GitHub Desktop.
SSH config without proxy at ~/.ssh/config
Host github.com
AddKeysToAgent yes
Hostname ssh.github.com
PreferredAuthentications publickey
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
User git
Port 443
Host gitlab.com
AddKeysToAgent yes
Hostname altssh.gitlab.com
PreferredAuthentications publickey
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
User git
Port 443
Host bitbucket.org
AddKeysToAgent yes
Hostname altssh.bitbucket.org
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
User git
Port 443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment