Re: Launch PuTTY Button
.I do not think that this is a good idea. You may have setup command that would prevent WinSCP to work
Yeah I guess I'm a bit of a special case. :wink:
BTW: How do you authenticate to the host you "hop" to? Just curious.
It's all done by Public/Private key - I run Pagaent and Agent forwarding is always on.
Here are a couple of examples:
A simple hop to reach serverB via serverA where both servers run sshd and there are firewalls (open to ssh only) between the client and A and between A and B.
In Putty connection host is set to serverA and the "Remote Command" option is set to ssh serverB.
In WinSCP Session Hostname is serverA and Environment->SCP->Shell->Enter is set to "ssh serverB".
A more complex triple-hop can be achieved - add serverC (running sshd) behind yet another firewall.
In Putty connection host is set to serverA and the "Remote Command" option is set to ssh -A -t serverB ssh -A serverC.
In WinSCP Session Hostname is serverA and Environment->SCP->Shell->Enter is set to "ssh -A serverB ssh serverC".
Note the -t (to force a tty) and the extra -A (to forward authentication in case I need to do some scp-ing) options in the Putty settting.
Karl