OK, I've looked through all the archives on this topic and despite 
all the info out there, I still can't get this to do what I want.  To 
me it looks as if ssh just simply isn't behaving according to the 
documentation, but I'm hoping someone out there will show me my err.

I just want to start an ssh session from a -> b.  The sole purpose of 
this connection is to forward ports, no terminal is needed or 
desired.  Once the tunnel is created I want to put the session in the 
background.  Simple enough.  According to all I've read this is how I 
could set this up:

ssh -f -l user -L 8080:remotehost:80 -C ssh.host sleep 86400

This should make the connection, prompt me for my 
passphrase/password, create the tunnel and then go into the 
background.  All this is true .. except for the last part.  It won't 
background for me.  I can suspend then bg, but that's not what I'm 
looking for.  Is there something I'm missing here?

I am using openssh v2.1.1 connecting to opensshd v2.1.1.

TIA,
Keith

Reply via email to