Hi,

>> How can I configure MySQL to utilize the SSH package for encrypted
>> TCP/IP connection between MySQL clients and server?  Thanks in
>> advance.
> 
> What I do is setup port-forwarding. I forward a local port (say 12345)
> to port 3306 on the database server via an SSH connection:
> 
> ssh -f -L 12345:server.foo.com:3306 sleep 999999999
> 
> (or something relatively similar)

I've found that you don't need to mess around with 'sleep' command stuff. If
you're using an SSH2 client/server (like OpenSSH) you can get the client to
set up the forwarding without logging in for a command session. This is how
I do it:

ssh -2 -l username -N -L 12345:server.foo.com:3306 server.foo.com

Regards,

------------------------------------------------
Basil Hussain ([EMAIL PROTECTED])


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to