Re: Putty (plink) causes zombie process while executing a command
Preamble: I don't know if I'll be able to help you on this since
I know nothing about plink except what I've just discovered with
apt-cache show putty-tools :(
On Fri, Sep 02, 2005 at 08:02:27AM -0700, Martin Burger wrote:
> Hello,
>
> I'm trying to execute a command on my Sarge box using plink (Putty) on
> Windows XP. E.g.: plink -A -2 -ssh auser@host.some.where ls -l
Does the above command log you into the Windows box via ssh? And
should the "ls -l" be executed on the Windows box? But surely
that's only a unix command, isn't it? Dos uses "dir".
>
> But instead of listing my home directory in my dos box, the command
> hangs. If I check the processes on Sarge, I see a zombie process "[ls]
> <defunct>".
The plot thickens. The command was executed on the debian box. Was
the syntax of the command right?
> <defunct>". After killing the process on Sarge and executing the
> command in the dos box a second time, it lists my home dir.
Your home dir on the dos box? Were you still logged in to the dos
box? Did you kill the process on Sarge from another terminal? And
dos understood "ls -l" ?
>
> So, a few times the command works, but in most cases there is a zombie
> process.
>From what you say, it doesn't work with the "plink" command but it
does work once you are logged in. You need to be precise to track
down the problem.
>
> Any idea why plink causes the zombie processes? How can I debug that
> problem?
>
Sorry if I've wasted your time, but I would check the syntax of that
first command to start with.
--
David Jardine
"Running Debian GNU/Linux and
loving every minute of it." -L. von Sacher-M.(1835-1895)
Reply to: