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

Thanks!

link|improve this question
Belongs on superuser.com – Paul R Apr 10 '10 at 6:22
feedback

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

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

1 Answer

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

But this is a question for superuser.com.

link|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
feedback

Your Answer

 
or
required, but never shown

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