ssh到Windows服务器坐在Linux防火墙后面
我一直在寻找,但仍然无法得到答案。如果这是一个重新发布的话我很抱歉。 我有一个家庭网络设置如下: OUTSIDE - > Linux防火墙/网关 - > Windows Server 我希望能够创建到我的防火墙的ssh连接,然后启动与我的Windows Server的远程桌面会话。 Windows计算机和防火墙之间没有其他防火墙。RDP在局域网上工作 这是我到目前为止使用的命令: ssh -v -L 13389:<Windows Server LAN IP>:3389 username@externalIP 连接很好,我接到我的防火墙命令提示符。 当我开始到localhost的RDP连接时:13389我收到以下错误: debug1: channel 3: new [direct-tcpip] channel 3: open failed: connect failed: Connection refused debug1: channel 3: free: direct-tcpip: listening port 13389 for <WindowsIP> port 3389, connect …