我试图通过命令行通过SOCKS5代理打开putty ssh连接。
putty.exe -P port -pw password username@host -nc proxyhost:proxyport
这个命令不起作用,我认为这是不正确的。 我尝试了很多这个命令的变体,但是腻子用户手册并没有包含必要的信息。
我试图连接到我的主机扔腻子用户界面,它工作正常。
对于openSSH类似的命令看起来
ssh -o "ProxyCommand=nc -x proxyhost:proxyport %h %p" -p port username@host
如果我是你,我会用Putty创建一个“Saved Session”,并通过命令行启动它:
putty.exe -load session_name
通过PuTTY接口创建一个“保存的会话”要比使用命令行更容易。 看来你已经通过PuTTY界面工作了。