SSH代理配置
SSH代理配置
FTDRTDSSH协议
本示例假定读者已经在本地10808端口部署了socks5的代理以及http代理。
1.使用Scoop安装nmap
1 | scoop install main/nmap |
2.ncat (Windows)
1 | Host http://ssh.github.com |
将其放在.ssh/config中,然后就可以使用ssh命令访问github了。
或者使用HTTPS连接GitHub
https协议
https代理:
1 | git config --global http.proxy http://127.0.0.1:1080 |
关闭https代理:
1 | git config --global --unset http.proxy |
但是目前测试其SSH以及HTTPS,SSH比HTTPS还是慢的多。
不过目前官方GitHub已经有其自己的源代码管理工具GitHub CLI了
你也可以使用 scoop install main/gh
进行安装