Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server that is only SSH-accessible to machines within a network and my only access to that network from the outside world is a single publicly-SSH-accessible node.

Is there some way that I can mount the nested machine from the outside?

Me -> Public SSH-accessible Node -> Internal SSH-accessible Machine
share|improve this question

migrated from stackoverflow.com Apr 11 '10 at 2:28

This question came from our site for professional and enthusiast programmers.

Use SSH tunneling:

ssh -L 2022:internalSshNode.com:22 externalSshNode.com

you may then make an ssh connection to the internal node using a local port:

ssh -p 2022 localhost
share|improve this answer
    
Or you can do a SOCKS proxy with ssh (-D <portnumber>) and "wrap" your ssh connection with tsocks. – Jimmy Hedman Apr 16 '10 at 11:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .