【问题标题】:SSH gateway throught linux jumphost通过linux跳转主机的SSH网关
【发布时间】:2022-01-27 14:03:52
【问题描述】:

从带有 Windows server 2019 的主机,您需要通过 http 和 rdp 连接到另一个网络上的主机。是否可以使用标准 Windows 工具通过可以访问目标网络的 ssh 网关建立连接?不是针对一台主机,而是针对子网上的所有主机。

【问题讨论】:

    标签: ssh port tunnel windows-server-2019 jumphost


    【解决方案1】:

    批处理文件启动然后用户登录:

    @echo off
    Reg Add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d socks=127.0.0.1:8888 /f
    Reg Add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 00000001 /f
    ssh -D 8888 %username%@ip.ssh.tun.nel
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-26
      • 2017-06-04
      • 2020-02-10
      • 2018-08-27
      • 1970-01-01
      • 2015-11-27
      • 2018-10-07
      • 1970-01-01
      相关资源
      最近更新 更多