News for hackers. Stuff that matters.
Re:SSH Multiplexing & other OpenSSH Tricks by fragmede on Sunday August 22, 2010 @12:17AM (#1624208)
'-t' is also useful if you have machines behind a NAT you want to get to: ssh -t gateway.example.com ssh protected_machine
Re:SSH Multiplexing & other OpenSSH Tricks by mooism2 on Sunday August 22, 2010 @12:53PM (#1624869)
Or you could add the following to your ~/.ssh/config instead:

    Host protected_machine other_protected_machine
    ProxyCommand /usr/bin/ssh gateway.example.com /bin/nc -w 3700 %h %p
(Assumes you have /bin/nc installed on your gateway.)