This is a discussion on MySQL Security Risk? within the Linux Security forums, part of the System Security and Security Related category; Christopher Browne wrote: > Quoth Nuno Paquete <nmp@ispgaya.pt>: >> How woul you create a ssh ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? Regards, Nuno Paquete |
|
|||
|
"Nuno Paquete" <nmp@ispgaya.pt> wrote in message
news:4135d605$0$1830$a729d347@news.telepac.pt >> 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? -p port see the man page -- use hotmail for email replies |
|
|||
|
dd <dd@ndirect.co.uk> wrote:
> How about locking down mysql to localhost then running PhpMyAdmin > (Allowing clients to use a web interface which connects to locahost ) For more security, use ssl. Bye! -- ............................................. Jose Miguel Herrera M. - User #246070 counter.li.org Est.Ing.Civil Informatica - UTFSM Valparaiso, Chile - http://www.inf.utfsm.cl/~jherrera |
|
|||
|
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 |