Skip to content

Instantly share code, notes, and snippets.

@abdullahkhilji
Created May 31, 2019 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdullahkhilji/1bb934651318159e0179964480d80a33 to your computer and use it in GitHub Desktop.
Save abdullahkhilji/1bb934651318159e0179964480d80a33 to your computer and use it in GitHub Desktop.
vi ~/.ssh/config --- SSH config file for PROXY connections for GitHub, GitLab and BitBucket
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