Import tunneled putty-Sessions
we usually use putty to get on our machines via a ssh-gateway.
So our putty-Session connects primary to the ssh-gw - secondary we have a ssh-command "ssh ... user@host" to get to our machine.
If you import these putty-sessions you'll get only on the ssh-gw, because putty-reg-key "HostName" is used for winscp-reg-key "HostName".
Very useful would be a function which recognizes tunneled putty-sessions by having a regexp like /ssh/ and /(\w+)\@(\w+)/ on putty-reg-key "RemoteCommand". These results could be used for winscp-reg-keys "UserName" and "HostName" - "Tunnel" should be set on "1".
And putty-reg-key "HostName" and "UserName" should be used for winscp-reg-key "TunnelHostName" and "TunnelUserName".
This would be very helpful when importing putty-Sessions.
kind regards,
Torsten
So our putty-Session connects primary to the ssh-gw - secondary we have a ssh-command "ssh ... user@host" to get to our machine.
If you import these putty-sessions you'll get only on the ssh-gw, because putty-reg-key "HostName" is used for winscp-reg-key "HostName".
Very useful would be a function which recognizes tunneled putty-sessions by having a regexp like /ssh/ and /(\w+)\@(\w+)/ on putty-reg-key "RemoteCommand". These results could be used for winscp-reg-keys "UserName" and "HostName" - "Tunnel" should be set on "1".
And putty-reg-key "HostName" and "UserName" should be used for winscp-reg-key "TunnelHostName" and "TunnelUserName".
This would be very helpful when importing putty-Sessions.
kind regards,
Torsten