Re: problem with plink and remote command
From: Owen Dunn (owend_at_chiark.greenend.org.uk)
Date: 03/26/04
- Next message: Pascal Legrand: "Re: problem with plink and remote command"
- Previous message: Pascal Legrand: "problem with plink and remote command"
- In reply to: Pascal Legrand: "problem with plink and remote command"
- Next in thread: Pascal Legrand: "Re: problem with plink and remote command"
- Reply: Pascal Legrand: "Re: problem with plink and remote command"
- Reply: Pascal Legrand: "Re: problem with plink and remote command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 26 Mar 2004 11:39:46 +0000
Pascal Legrand <Pascal.Legrand@univ-orleans.fr> writes:
> i've got a problem with the plink command.
> i would like to connect to a linux server with ssh, from a windows client with plink, and after use vnc.
>
> when i use the following command:
> plink -ssh -v -2 -i "c:\logici~1\putty\clef\serveu~1.ppk" -L 3000:192.168.151.199:5901
> root@192.168.151.199
>
> and just after in the shell "vncserver", all is ok, the tunnel exist
> and vncserver working good.
When you run "vncserver", what happens? Does it return you
immediately to your shell prompt? If so, it's forking off a daemon in
the background, and this explains the problem you're seeing with
plink; the vncserver process starts an Xvnc in the background,
finishes successfully, and therefore the connection is over.
If this is the case, you need to find a way of making vncserver not
terminate; I suspect you may have to run Xvnc directly instead of
using vncserver.
(S)
- Next message: Pascal Legrand: "Re: problem with plink and remote command"
- Previous message: Pascal Legrand: "problem with plink and remote command"
- In reply to: Pascal Legrand: "problem with plink and remote command"
- Next in thread: Pascal Legrand: "Re: problem with plink and remote command"
- Reply: Pascal Legrand: "Re: problem with plink and remote command"
- Reply: Pascal Legrand: "Re: problem with plink and remote command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|