Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
How to configure a shortcut for an SSH connection through a SSH tunnel

Multiple networks I can connect to have the following set up. There is a single node that can be accessed with ssh from the internet, and from there you can ssh to the inside network.

Is there a way, that on my ubuntu box (no sudo rights), I somehow can configure that the command ssh is first setting up an connection to and from there to In the ideal situation it would be something very transparent, so that I even would be able to do scp myfile

All authentication is done with certificates.

Btw. I am aware of ssh tunnels. I'm only searching something more transparent, I don't want to have to always manually open an ssh tunnel to reach a host.

share|improve this question

marked as duplicate by EEAA, Mark Henderson Apr 5 '11 at 0:55

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

edit your .ssh/config file and add:

   User abc
   ForwardX11 yes
   ProxyCommand ssh -qxT netcat 22
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.