Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 14:35:13 -0400
From:      John Almberg <jalmberg@identry.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: mysql connection through ssl tunnel
Message-ID:  <1D3A7106-EEEB-4D89-99A6-7B4E3F9B17DD@identry.com>
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

On Oct 20, 2008, at 11:09 PM, 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.
>

Ah... that makes sense. I had set up the keys for 'admin', but of  
course init is run by root. Duh.

That raises another issue... I don't allow root logins on either  
server, for security reasons...

Peter, I appreciate your ideas and help, but I think I will stick  
with autossh, probably by finally learning how to create an rc.d  
script (not sure the actual name for these, but you know what I  
mean.) I've actually got autossh working, and think it's a simpler  
solution for me.

Thanks.

Brgds: John





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D3A7106-EEEB-4D89-99A6-7B4E3F9B17DD>