Can you set up PuTTY to SSH into machine through another machine (through an SSH tunnel)

1

1

Basically, I'm wondering if the problem from Forward SSH traffic through a middle machine can be solved using PuTTY. I gather I could start one PuTTY session to create an SSH tunnel to the first machine, then another session to use the tunnel to connect to the second machine (or just use ssh manually from the first machine), but I'd rather have a 'one click' solution.

Bwmat

Posted 2012-06-08T05:02:44.047

Reputation: 113

the jist is ProxyCommand for openssh ssh.exe but it looks like putty has an equivalent http://stackoverflow.com/questions/1010808/ssh-tunnelling-chain but I don't know details

– barlop – 2012-06-08T05:25:37.107

Answers

0

The most elegant solution I can think of is automating the PuTTY sessions from a BAT file. Basically it would just be two lines launching PuTTY with command line options. Launching the BAT file would then be 'one click.'

daalbert

Posted 2012-06-08T05:02:44.047

Reputation: 311