Web lists-archives.com

Re: ssh basics

On Sun, 08 Mar 2015 01:30:46 +0100, Reindl Harald wrote:

> Am 08.03.2015 um 01:20 schrieb Thufir:
>> I want to ssh into Mysql, something like:
>> thufir@doge:~$
>> thufir@doge:~$ ssh -L 3306:localhost:3306 thufir@ bind:
>> Address already in use
> that is a pretty clear message
> you can't use port 3306 if you have running a mysqld on both machines,
> so just use a different local port


how is this:

ssh -L 3305:localhost:3306 thufir@

different from

ssh thufir@

they seem functionally equivalent, neither gives me a MySQL console right 
off the bat.  (I'm reading the man page and trying to understand "bind" 
and the -L switch.)

I'd like to be able to use my ssh key to facilitate the login process; 
for example, login remotely without a password, just using the key.



MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql