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.