Open honwen opened 3 years ago
in ~/.ssh/config
ProxyCommand gost -F=[Protocols]://user:password@server_ip:port -F=[[Protocols]://[user:password@][%r@]]%h:%p
ProxyCommand gost -F=[Protocols]://user:password@server_ip:port -F=%h:%p
参考:
C 语言版本的,缺乏socks5的 用户登录功能, refer: https://github.com/bryanpkc/corkscrew
ProxyCommand corkscrew proxy.example.com 8080 %h %p
ProxyCommand corkscrew proxy.work.com 80 %h %p ~/.ssh/myauth
golang 版本 refer: https://github.com/wzshiming/bridge
ProxyCommand bridge -p %h:%p -p "ssh://username@my_server?identity_file=~/.ssh/id_rsa"
ProxyCommand bridge -p %h:%p -p [Protocols]://ProxyUser:ProxyPass@ProxyServer:ProxyPort
refer: https://superuser.com/questions/454210/how-can-i-use-ssh-with-a-socks-5-proxy
~/.ssh/config
Feature Request