On Fri, Feb 16, 2001 at 05:31:54AM -0800, Kuokai Shyu wrote:
> 
> 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)

Then I just tell the client to connect to localhost on port 12345.

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 328-7878    Fax: (408) 530-5454
Cell: (408) 439-9951

---------------------------------------------------------------------
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