Question : Problem: SSH port forwarding

I need to "Putty" into a client site, establishing a SSH tunnel.

However the server I need to tunnel to is behind their firewall. I have access to one of their servers to which I can establish a tunnel through to, and from this server I can SSH into the server I want to.

For example

I tunnel through to  server 123.123.123.123:2030 (using Putty)

From this I can ssh into server 234.234.234.234 by simply entering

ssh 234.234.234.234. This gets me to the bash prompt of the server.

However, this obviously hasn't established a tunnel from my local PC to 234.234.234.234.

I know (but have forgotten) the ssh switches which will allow me to tunnel through (via port forwarding??? to the end server.

I've tried:

ssh -L 2030:234.234.234.234:2030, but this is discarded.

Any help greatly appreciated,

Thanks

Steve



Answer : Problem: SSH port forwarding

check this document, it is a explanation on how to use ssh tunneling with putty

http://souptonuts.sourceforge.net/sshtips.htm

Random Solutions  
 
programming4us programming4us