ssh-agent doesn't die
Norton Allen
allen@huarp.harvard.edu
Fri Sep 27 14:12:00 GMT 2019
On 9/26/2019 10:50 PM, Ken Brown wrote:
>
>> 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
>>
>> One oddity is that ssh-agent is listed as a subprocess of sleep
> ...but this isn't a bug. ssh-agent forks, and then the parent execs the command.
With the salient difference presumably being that the exec is done in
the parent instead of the child as usual?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list