Executing remote commands via ssh causes zombie process
> 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
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
I tried to execute the command "ls -l" using the ssh executable on the
Debian box:
mburger@host:~$ ssh mburger@host.some.where ls -l
That caues such zombie processes, too:
mburger@host:~$ ps ux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
[...]
mburger 29076 0.0 0.1 11940 2028 ? S 19:09 0:00 sshd:
mburger@notty
mburger 29077 0.0 0.0 0 0 ? Zs 19:09 0:00 [ls]
<defunct>
[...]
So, it's not relevant whether I use plink or ssh. It's a general
problem: If I execute a command on the Debian box remotely via ssh
protocol, a zombie process occurs. Could that be a bug in bash? Or in
the ssh daemon? Or...
Regards, Martin
Reply to: