Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 05:25:22 +0200
From:      Peter Boosten <peter@boosten.org>
To:        John Almberg <jalmberg@identry.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mysql connection through ssl tunnel
Message-ID:  <48FD4BA2.9070702@boosten.org>
In-Reply-To: <48FD47E6.8040201@boosten.org>
References:  <C8E2ADAA-6D31-4014-8BA0-962CBE6D49E5@identry.com>	<1479DAD4-A72B-415E-B8B0-FDEA810161ED@identry.com>	<6E564226-98BE-4464-BA6C-A95848F02ABC@identry.com> <48FD47E6.8040201@boosten.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Peter Boosten wrote:
> John Almberg wrote:
>> I tried this, and not surprisingly, it didn't work. Now I'm trying to
>> debug it...
>>
> 
> Maybe some mixup in the keys? In my example ssh tries to read the
> private key of root on the connecting server, so the server where the
> database is located, because init is run as root. If you need another
> key, then you need to specify this with the -i parameter.
> 
> 
> 
>> Question... if I want to ssh from the database server to the application
>> server (in the direction show -R), I need to use port 48444 (not the
>> actual port, but something high). In other words, I need to do something
>> like:
>>
>>     ssh admin@example.com -p 48444
>>
>> Does this ssh port have anything to do with trying to start this ssh
>> tunnel? In other words, do I need to add a '-p 48420' to the ttyv7 command?

I now see where you're going: you would have in case you ran sshd on
another port than 22.

> 
> regards
> 
> Peter
> 

-- 
http://www.boosten.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48FD4BA2.9070702>