Hacker News new | past | comments | ask | show | jobs | submit login

'-t' is also useful if you have machines behind a NAT you want to get to: ssh -t gateway.example.com ssh protected_machine



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.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: