On Sep 27 00:42, Tim Adye wrote:
> Hi,
> 
> I have noticed a (new?) problem with using ssh-agent to start a session, eg.
> with
> 
>   ssh-agent xterm &
> 
> When the xterm (or whatever) command completes, the ssh-agent process is
> still left running in the background. It should stop once its subprocess is
> done.
> 
> As a simple test example, consider:
> 
> /bin/ssh-agent /bin/sleep 10
> 
> While the sleep is still running, ps shows:
> 
>       PID    PPID    PGID     WINPID   TTY         UID    STIME COMMAND
>      1694    1693    1694       1576  ?          22534 00:01:10
> /usr/bin/ssh-agent
>      1653       1    1653      11740  cons1      22534 00:00:37
> /usr/bin/bash
>      1693    1653    1693       1552  cons1      22534 00:01:10
> /usr/bin/sleep
> [...]
> Once the sleep finishes, ps shows:
> 
>       PID    PPID    PGID     WINPID   TTY         UID    STIME COMMAND
>      1694    1693    1694       1576  ?          22534 00:01:10
> /usr/bin/ssh-agent
>      1653       1    1653      11740  cons1      22534 00:00:37
> /usr/bin/bash
> 
> ie. ssh-agent is still running, though its PPID no longer exists.

I pushed a patch and created new developer snapshots.  Please test the
latest from https://cygwin.com/snapshots/


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

Attachment: signature.asc
Description: PGP signature

Reply via email to