Created
June 11, 2020 00:49
-
-
Save lonsty/5539987b8fafb64fc2bdc2f17aa99197 to your computer and use it in GitHub Desktop.
SSH proxy configuration with authentication
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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