3 ms·
'-t' is also useful if you have machines behind a NAT you want to get to: ssh -t gateway.example.com ssh protected_machine
by fragmede 16y ago
'-t' is also useful if you have machines behind a NAT you want to get to:
ssh -t gateway.example.com ssh protected_machine
- mooism2 16y agoOr 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.)