[Smaug] ssh, ip forwarding, and background process

Martin Wolters martinwolters@yahoo.com
Wed Feb 6 01:00:02 2002


Here a quick question: I am using something like

ssh -N -C -L[localport]:server:[remoteport] [ssh server] 

for IP port-forwarding. For authentication I created a key. This works fine. 
But whatever I try to get this line to start as a process in the background 
failed so far. I tried 

ssh -N -C -L[localport]:server:[remoteport] [ssh server] &
ssh -N -f -C -L[localport]:server:[remoteport] [ssh server] 
ssh -N -n -C -L[localport]:server:[remoteport] [ssh server] 
...

Any ideas? I wouldn't be surprised if there is some generic 
everybody-knows-this type of command to do that. But being the simple Linux 
desktop guy that I am, I must be missing something. 

Thanks in advance

-M