[ start | index | login ]
start > putty

putty

Created by mpecher. Last edited by mpecher, 166 days ago. Viewed 427 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
Putty comes with some additional utilities. One of them plink, can be used to connect to remote machine, and then have it route a local port to the remote machine as if it was local, essentially creates an ssl tunnel

plink.exe

plink -ssh $username@$server -L <localport>:localhost:<remoteport> -C -N

This would create an ssl tunnel, and any traffic to the <localport> of the localhost would be pushed to the <remoteport>
eg. For mysql:
C:Program FilesPuTTY>plink -ssh <user>@<server> -L 3366:localhost:3306 -C -N
This would now allow the mysql admin to connect to localhost:3366, which would tunnel to the remote server and talk to 3306!

Great for say connecting a local mysql admin console to a remote server.


no comments | post comment

Menu:
Java & J2EE
Development
Books

Help:
Help FAQ
Formatting


< November 2008 >
SunMonTueWedThuFriSat
1
2345678
9101112131415
16171819202122
23242526272829
30


Logged in Users: (0)
… and 104 Guests.



Disclaimer: Views and opinions are that of the individual author, and not that of Marand Custom Solutions. This site is an open forum for technical content, and the company accepts no liability for any content or view expressed.