Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 05:27:09 +0200
From:      Peter Boosten <peter@boosten.org>
To:        John Almberg <jalmberg@identry.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fwd: mysql connection through ssl tunnel
Message-ID:  <48FD4C0D.8090205@boosten.org>
In-Reply-To: <1479DAD4-A72B-415E-B8B0-FDEA810161ED@identry.com>
References:  <C8E2ADAA-6D31-4014-8BA0-962CBE6D49E5@identry.com> <1479DAD4-A72B-415E-B8B0-FDEA810161ED@identry.com>

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


John Almberg wrote:
> 
> Where 'admin' is the user I am logging into on the remote machine, and
> 'example.com' is the hostname of the remote machine. I guess equivalent
> to the following?
> 
> ttyv7   "/usr/bin/ssh -nNTx -R 3306:127.0.0.1:33006 admin@example.com
>>/dev/null 2>&1"    unknown on
> 
> Port 33006 is not a typo. There are databases running on both machines,
> so I need to use a different port for the tunnel.

I don't think this will work because of 127.0.0.1 not being a FQDN, but
I could be mistaken.

> 
> And as far as I can tell, I reload /etc/ttys with 'kill -1 1'.
> 
> This looks dangerous...
> 

You can safely HUP it...

Peter

-- 
http://www.boosten.org



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