View Single Post
  #1   (View Single Post)  
Old 5th September 2008
starbuck's Avatar
starbuck starbuck is offline
Port Guard
 
Join Date: Apr 2008
Location: Eugene, OR
Posts: 31
Default Forward SSH from some port to some other machine

I have a Mac OS X Server running as a gateway/proxy for several machines behind it. I would like to be able to do this:

Code:
ssh user@gateway -p 2205
...and get forwarded to some other machine (behind the gateway/proxy) at user@10.0.0.105:22 or whatever. How can I do this?

I did some digging on google and it looks like I need to use the -L flag with the ssh command on the gateway machine. Wasn't really working for me though. Any suggestions?

Essentially I want to give a user ssh access to a machine behind the gateway.
Reply With Quote