Please add support for ProxyJump enable jumping across multiple hosts
Brought to you by:
ludong
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/
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.
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"
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.