1. Go to Session: enter site name, port, etc…
2. Window > Behaviour : Window Title can be set here.
3. Connection > Data: User name should be given Auto-login username.
4. Connection > SSH : check Enable Compression.
5. Connection > SSH > Tunnels: enter local port number in Source Port, the port to be forwarded in Destination in the form
For MySQL client, this local port will be the port and localhost will be the machine.
Create windows short cut for this.
1. Create a short cut for PuTTY and change its command like below.
C:\Users\user\Desktop\putty.exe -ssh -pw
Source: http://www.jfitz.com/tips/putty_config.html
Friday, December 2, 2011
How to do MySQL port forwarding using PuTTY
Posted by Reddy at 12:34 PM 0 comments
Thursday, July 7, 2011
Find recursively and copy files in Unix
I was trying to do a recursive search in Unix using find command and then copy all those files to a specific folder.
I found below command does that.
find . -name *2011-03-19* -exec cp {} /home/Reddy/logs/ \;
Important thing is, we need to escape the ending semi-colon.
{} is the place holder for putting the search result, i.e., the file name found.
Subscribe to:
Posts (Atom)