I was having problems the other day trying to setup an SSH Tunnel (so I could view the Trac setup at work…), and found this page to be quite useful.
A tip of my own: If you're trying to get access to the gateway machine, use the internal address of the machine (10.x.x.x, etc), instead of its external one. e.g. ssh user@your.server.com -L 9999:10.0.0.1:80, instead of ssh user@your.server.com -L 9999:your.server.com:80. I was racking my brain as to why the tunnel wasn't working, until I figured this one out. Whoops.
If you're on MacOS X, I suggest SSHKeychain, which can be configured to automatically load your SSH keys and create tunnels for you.








0 Responses to “SSH Tunnel tips”
Leave a Reply