Skip to content

Instantly share code, notes, and snippets.

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/0064a937b8aba9eb2d69667ff334d8db to your computer and use it in GitHub Desktop.
Save abdullahkhilji/0064a937b8aba9eb2d69667ff334d8db to your computer and use it in GitHub Desktop.
SSH config for connecting to github and bitbucket over proxy
ProxyCommand "C:\Program Files\git\bin\connect.exe" -H proxy.example.com:8080 %h %p
Host github.com
HostName ssh.github.com
Port 443
IdentityFile C:\Users\hoge\.ssh\id_rsa
Host bitbucket.org
HostName altssh.bitbucket.org
Port 443
IdentityFile C:\Users\hoge\.ssh\id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment