Commit d4bde747 authored by unknown's avatar unknown

manual.texi Applied patch from David Carlson for Windows_and_SSH section.


Docs/manual.texi:
  Applied patch from David Carlson for Windows_and_SSH section.
parent 4621e6b4
...@@ -8567,36 +8567,39 @@ and change privileges with @code{GRANT} and @code{REVOKE} commands. ...@@ -8567,36 +8567,39 @@ and change privileges with @code{GRANT} and @code{REVOKE} commands.
@subsection Connecting to a Remote MySQL from Windows with SSH @subsection Connecting to a Remote MySQL from Windows with SSH
Here is a note about how to connect to get a secure connection to remote MySQL Here is a note about how to connect to get a secure connection to remote MySQL
server with SSH (by David Carlson): server with SSH (by David Carlson @email{dcarlson@@mplcomm.com}):
@itemize @bullet @itemize @bullet
@item @item
Install SSH client on your windows machine - I used a free SSH client Install an SSH client on your windows machine - As a user, the best non-free
from @uref{http://www.doc.ic.ac.uk/~ci2/ssh/}. one I've found is from @code{secureCRT} from @uref{http://www.vandyke.com/}.
Other useful links: Another option is @code{f-secure} from @uref{http://www.f-secure.com/}. You
@uref{http://www.npaci.edu/Security/npaci_security_software.html} and can also find some free ones on @strong{Google} at
@uref{http://www.npaci.edu/Security/samples/ssh32_windows/index.html}. @uref{http://directory.google.com/Top/Computers/Security/Products_and_Tools/Cryptography/SSH/Clients/Windows/}.
@item @item
Start SSH. Set Host Name = yourmysqlserver name or IP address. Set Start your windows SSH client. Set @code{Host_Name = yourmysqlserver_URL_or_IP}. Set
userid=your userid to log in to your server. @code{userid=your_userid} to log in to your server (probably not the same as your @strong{MySQL} login/ password.
@item @item
Click on "local forwards". Set @code{local port: 3306}, Set up port forwarding. Either do a remote forward (Set @code{local_port: 3306}, @code{remote_host: yourmysqlservername_or_ip}, @code{remote_port: 3306} )
@code{host: localhost}, @code{remote port: 3306}. or a local forward (Set @code{port: 3306}, @code{host: localhost}, @code{remote port: 3306}).
@item @item
Save everything, otherwise you'll have to redo it the next time. Save everything, otherwise you'll have to redo it the next time.
@item @item
Log in to your server with SSH. Log in to your server with SSH session you just created.
@item @item
Start some ODBC application (for example Access). Start some ODBC application on your windows machine (for example Access).
@item @item
Create a new file and link to mySQL using the ODBC driver the same way Create a new file in windows and link to @strong{MySQL} using the ODBC driver the same way
you normally do except for server, user "localhost". you normally do, EXCEPT type in @code{localhost} for the @strong{MySQL} host server - not @code{yourmysqlservername}.
@end itemize @end itemize
That's it. It works very well with a direct Internet connection. I'm You should now have your ODBC connection to @strong{MySQL} encrypted using SSH.
having problems with SSH conflicting with my Win95 network and Wingate -
but that'll be the topic of a posting on another software company's
usegroup!
@cindex symbolic links @cindex symbolic links
@cindex using multiple disks to start data @cindex using multiple disks to start data
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment