Re: FVWM: Exec ssh ... dies

From: Felix E. Klee <felix.klee_at_inka.de>
Date: Mon, 5 May 2003 11:15:04 +0200

On Monday 05 May 2003 10:43, Ben Winslow wrote:
> > I added the following menu entry
> >
> > + "QQQ: forward inka ports" Exec ssh -N -L1119:news.inka.de:119
> > -L1125:mail.inka.de:25 -L1110:mail.inka.de:110 inka
> >
> > However, when clicking on "QQQ: forward inka ports" the ssh deamon starts
> > but terminates immediately afterwards. When I start the above ssh command
> > from a terminal everything works fine. I already tried using the "-n"
> > option but this doesn't work for port forwarding (then ssh terminates
> > immediately, even when started from a terminal).
> >
> Well, -n is what you need, and when using -N ssh doesn't terminate for
> me so long as the remote host is running ssh protocol version 2 (which
> is required for -N to work.) If the remote host is only running
> protocol 1 and you don't have the power to upgrade the daemon on the
> remote host (which would be the ideal solution), you'll have to give ssh
> a command to run--either sleep with a long timeout, or a small program
> that simply sits around and does nothing until terminated.

Well, the remote server is running "sshd version 1.2.32 [i686-unknown-linux]"
and I don't have the power to make an upgrade. So, I'll have to go with
sleep. Thanks for clearing that up!

Felix

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon May 05 2003 - 04:16:51 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST