I have been trying to establish a MySQL connection through SSH without luck.
Server has OpenSSH for Windows installed and setup with two users Administrator and ssh_user with a group and passwd file setup in the C:\OpenSSH\etc folder.
I open a command window and type "net start opensshd" and openssh starts as a service. I've verified this by looking at it "started" in the services window.
Now I go to my development machine and open another command window and type
"plink -v -ssh -l ssh_user -pw 1234 -L 3306:localhost:3306 192.168.100.151"
It runs and says it "Opened channel for session", "Local port 3306 forwarding to localhost:3306"
Things are not working though. I've setup the built in firewall on Windows 2003 Server and blocked everything except port 22 (SSH). Shouldn't port 3306 now be going through 22 on the server and SSH server talking back with 3306?
Is there something else I need to do to setup on the server? Seems like I need to setup a tunnel on the server but all the articles I can find on google are not that helpful.
I've already got and installed OpenSSH for Windows, PuTTY, and pLink downloaded.
I want to establish a Secure Tunnel between the Server and my workstation for port 3306.