On Monday 05 May 2003 10:26, Uwe Pross wrote:
> >     + "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).
> >
> > What am I doing wrong?
>
> Do you want to start a ssh deamon or a client?

The command above clearly indicates that I want to start a client. I doubt 
that I can forward ports from "inka" to my local computer using a deamon.

> Supposing you meant a ssh client I guess you should start a
> xterm for the ssh. The following worked on my computer:
>
>      + "QQQ: forward inka ports" Exec xterm -e ssh -N \
>         -L1119:news.inka.de:119 -L1125:mail.inka.de:25 \
>         -L1110:mail.inka.de:110 inka.de

Sure, this will work. However, I don't want to start an xterm but redirect 
the output to a log file instead. Note that I use the ssh connection just 
for port forwarding, not for any interaction.

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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to