Re: Best "network manager"
On Tue, Jul 19, 2005 at 02:07:39PM -0300, Derek Broughton wrote:
> Maybe I'm just being particularly dense today, but is there really a problem
> with maintaining the SSH tunnel even when localhost and your mail host are
> the same machine? Then you always connect to port 2525.
How would you set this up so the tunnel was always available?
Currently, I boot the laptop and log in to my account. I'm prompted
for my pass phrase when I first log in via ssh-add. Then open an
xterm and create the ssh tunnel.
The tunnel should available soon as the network comes up before user
login. I suppose I could create a single-use ssh key pair and use
that key to create the tunnel in an init script and use the -N ssh
option. Not sure what the single use command would be, though.
Perhaps /bin/false to prevent misuse of the keypair.
Or am I missing the obvious procedure?
--
Bill Moseley
moseley@hank.org
Reply to: