[Smaug] ssh, ip forwarding, and background process
Chris Parry
laotzu@juniper.net
Thu Feb 7 19:20:01 2002
I'm not sure what ssh ver you are running (hopefully something like
OpenSSH_3.0.1), but here's the commandline I use:
ssh -c blowfish -f -N -l <uid> -L <localport:remote:remoteport> <remote>
Also good to know that the remote in the -L can be a fake address as long
as it resolvs okay on the ssh server.
good luck,
-chris
On Mon, Feb 04, 2002 at 04:56:31PM -0800, Martin Wolters wrote:
> 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
>
> _______________________________________________
> Smaug mailing list
> Smaug@lists.svlug.org
> http://lists.svlug.org/lists/listinfo/smaug
> Smaug home page: http://www.scruz.org/