mysql connection through ssl tunnel
Peter Boosten
peter at boosten.org
Mon Oct 20 20:25:25 PDT 2008
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 at 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
More information about the freebsd-questions
mailing list