Menu

#44 Please add support for ProxyJump enable jumping across multiple hosts

dev
open
Noodle
ProxyJump (1)
5
2024-02-08
2023-11-28
vlinx
No

ProxyJump explaned

https://goteleport.com/blog/ssh-proxyjump-ssh-proxycommand/

====================================================

SecureCRT implementation
https://www.vandyke.com/support/tips/socksproxy.html

Sometimes a remote server can only be accessed via ssh by first login into an intermediary server. So you need first login into to the intermediary server and then ssh to another server. And the chain can be long and is not limited to just two servers. OpenSSH supports jump server using ProxyCommand or ProxyJump with -W and -J options.

====================================================

WindTerm implemnetation
https://kingtoolbox.github.io/2021/03/11/proxy-jump-server/

Changes in SecureCRT 7.1 (Beta 1) -- February 26, 2013 (7.1.0.195)

New features:

Added support for dependent sessions so that a connection can be made to a jump host or SSH gateway before the session is connected.

Discussion

  • Noodle

    Noodle - 2024-01-02

    I think it can be done via the expect-cmd feature. It is implemented upon the putty backend protocols(ssh/telnet/...).
    And it is paintfull to change the backend level. It should be putty's job.

    And the command line options with putty-nd7.21p2 as the attachment:
    -expect string expecting string for the next -cmd option(s). if not set, it is '$'.
    -cmd string send cmd if the nearest -expect option before is matched, e.g., putty-nd [ip...] -c -expect "$" -cmd "echo aa" -cmd "echo bb"

     
  • vlinx

    vlinx - 2024-02-08

    Tested putty-nd7.21p2.exe.bak

    It is not working as expected.

    I agree with you, it is better to get ProxyCommand or ProxyJump with -W and -J options implemented in PuTTY up stream.

     

Log in to post a comment.