View Single Post

  #14 (permalink)  
Old 09-02-2004
Christopher Browne
 
Posts: n/a
Default Re: MySQL Security Risk?

After a long battle with technology, Nuno Paquete <nmp@ispgaya.pt>, an earthling, wrote:
> Christopher Browne wrote:
>
>> Quoth Nuno Paquete <nmp@ispgaya.pt>:
>>> How woul you create a ssh tunnel?
>>> With stunnel?
>>> Using a VPN?

>>
>> No, I'd use ssh.

>
> How do you do it?
> You can use Putty to connect securely to the server using SSH protocol, but
> how can you create a tunnel that will be used by MySql connections? I mean,
> how can you connect to 3306 port within a secure tunnel?


This is well-documented in numerous places including here
<http://www.brandonhutchinson.com/ssh_tunnelling.html>

The relevant SSH options are -L, -R, and possible -f.
--
If this was helpful, <http://svcs.affero.net/rm.php?r=cbbrowne> rate me
http://www3.sympatico.ca/cbbrowne/sap.html
"In most countries selling harmful things like drugs is punishable.
Then how come people can sell Microsoft software and go unpunished?"
-- <hasku@rost.abo.fi> Hasse Skrifvars
Reply With Quote