Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

add comment

1 Answer 1

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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