SSH chain tunneling
Halo!!
Lets say i have ssh access into 3 servers (A, B, C). I am the PC. Now how i can do a connection like this : PC --> A --> B --> C through ssh connection? So i can browse to the internet with the server's C ip. Thanks..! |
I'm thinking someone may have a more elegant solution, but you can do it thusly:
B --> C : ssh -D <choose_port> C A --> B ssh -N -f -L <port>:localhost:<port> B PC --> A ssh -N -f -L <port>:localhost:<port> A Set up a SOCKS proxy on PC to localhost:<port> cheers, |
netplumber,
Thanks to your question - i felt motivated to read the entire ssh man page. it seems ssh is quite powerful and i am now looking forward to trying some things out. mrclisdue, Thanks also for your simple explanation. |
Hi there I have just found this thread after posting a similar one, (oops!) and was wondering if someone could explain how I would do this via putty, and with a PC and machine A and B? Machine B, being the server thats hosting the pages I want to view.
|
All times are GMT -5. The time now is 09:01 PM. |