[ start | index | login ]
start > putty

putty

Created by mpecher. Last edited by mpecher, 3 years and 358 days ago. Viewed 834 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


< May 2012 >
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
2728293031


Logged in Users: (0)
… and a Guest.



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.