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