且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PuTTY配置等同于OpenSSH ProxyCommand

更新时间:2023-02-12 19:54:27

PuTTY中的等效项是本地代理命令".您可以将 plink.exe -nc开关,而不是使用-W开关:

The equivalent in PuTTY is "local proxy command". You can use the plink.exe with the -nc switch instead of the ssh with the -W switch:

本地代理命令" 为:

plink.exe %user@%proxyhost -P %proxyport -nc %host:%port


一种替代方法是,首先使用另一个PuTTY(或Plink)实例通过"MySshProxyServer"打开隧道.


An alternative is to open a tunnel via the "MySshProxyServer" first using another instance of PuTTY (or Plink).

例如参见

  • How to create SSH tunnel using PuTTY in Windows?
  • My guide for tunneling SFTP/SCP session. It's for WinSCP, but just use PuTTY instead of WinSCP in section Connecting through the tunnel.