Hi everyone
I have a mySQL database that I need to connect to through SSH. I have successfully setup a connection to it using Plink. However, I'm running this from a batch file and I'd like a more elegant solution - that's where stunnel comes in I think.
Rather than running a batch file, I'd like to run the connection as a Windows service - which I think this is achievable with stunnel.
Trouble is, I can't work out how to do it.
This is what I'm trying to achieve...
Windows computer connects to mySQL server through SSH. Forwards a port to the mySQL server port 3306.
Application on Windows computer connects to local forwarded port & therefore connects to the mySQL db at the remote end.
I was hoping that someone could give me a pointer as to how I can set this up.
Thanks in advance.
Al