PuTTY configuration equivalent to OpenSSH ProxyCommand

后端 未结 2 1365
执笔经年
执笔经年 2020-12-13 18:11

I\'m just trying to use PuTTY to get an SSH connection to my servers. These servers allow incoming SSH connection only from another specific server (\"MySshProxyingServer\"

2条回答
  •  青春惊慌失措
    2020-12-13 19:12

    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:

    The "local proxy command" is:

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

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

    See for example:

    • 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.

提交回复
热议问题