Skip to content

Instantly share code, notes, and snippets.

@lonsty
Created June 11, 2020 00:49
Show Gist options
  • Save lonsty/5539987b8fafb64fc2bdc2f17aa99197 to your computer and use it in GitHub Desktop.
Save lonsty/5539987b8fafb64fc2bdc2f17aa99197 to your computer and use it in GitHub Desktop.
SSH proxy configuration with authentication
# FILE: ~/.ssh/config
Host 39.100.111.202 124.156.119.138 121.36.50.79 49.235.81.110 cn.lonsty.me github.com git.lonsty.me hk.lonsty.me gitlab.com gitee.com bitbucket.org git.dev.tencent.com e.coding.net git.code.sf.net shell.sourceforge.net 50.19.103.36
# ProxyCommand nc -X connect -x 10.57.197.116:50030 %h %p
# ProxyCommand nc -X connect -x 10.168.17.70:808 %h %p
ProxyCommand sshpass -p Foxconniisd nc -X connect -x 10.60.136.225:808 -Piisd %h %p
ServerAliveInterval 10
StrictHostKeyChecking no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment