Skip to content

Instantly share code, notes, and snippets.

@daicham
Last active June 1, 2021 22:02
Show Gist options
  • Save daicham/10253947 to your computer and use it in GitHub Desktop.
Save daicham/10253947 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