header

Torsten Curdt’s weblog

From server to server

Do you ever had to ssh into a gateway host to then ssh into the machine really wanted to log into? Well, you could setup a tunel …but that just way too complicated for this little task. Just do a

ssh -tt me@gateway ssh -tt host

Especially when you setup pubkey authentication this works like charm.

  • perwiradua
    Thank you for the tip. All this while I had to ssh twice, first to the third box and then to my office PC (behind a firewall). When the public key authentication has been set up, it feels as if I am connecting straight to my office PC.
blog comments powered by Disqus