Skip to content

Instantly share code, notes, and snippets.

@mfilin
Forked from daicham/gist:10253947
Created August 4, 2018 10:32
Show Gist options
  • Select an option

  • Save mfilin/87732fd14d9a80709253a8f5ad9186e4 to your computer and use it in GitHub Desktop.

Select an option

Save mfilin/87732fd14d9a80709253a8f5ad9186e4 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