Hi everyone<br><br>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. <br>
<br>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. <br><br>Trouble is, I can't work out how to do it. <br><br>This is what I'm trying to achieve...<br>
<br>Windows computer connects to mySQL server through SSH. Forwards a port to the mySQL server port 3306.<br><br>Application on Windows computer connects to local forwarded port & therefore connects to the mySQL db at the remote end.<br>
<br>I was hoping that someone could give me a pointer as to how I can set this up.<br><br>Thanks in advance.<br><br>Al<br>