X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=TZDtTRgdZRYb0pt+ jj/c/XXxxHa1dr56XbXMTtm/4LOTedVr/E/ueFYvEXu0R/JedilpfyP0ybDno+Bk gFiszqpmEdfk+E07soTNRuBwwCGZvKJZChte4iacTv1yZ7om/UxIVMCTQJwxD82+ hu63DPVtzdsRfqgurznfGwzzVfo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=UzERrbHfxFrEfdCXKXinwD j7n6I=; b=CRccFzsGFd5tpU+WI6/VezrU5GL9/TQB+KnDmiDskDm+mopt8q58HZ HTUghwpcSGuua+QK+iHCzbZYxZfss7k2Acxegzt6SqHZQdY2h7CXpemmGM/vQnZB COnCg/OUmVkcjDHdDI4bONCZNPow5R1YtrbrXLdAUsn9NCeVpLm00= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: endymion.arp.harvard.edu Subject: Re: ssh-agent doesn't die To: cygwin AT cygwin DOT com References: <319e26c0-32f0-40b7-2137-c7de170a3486 AT rl DOT ac DOT uk> <5b225738-c2d7-fbfe-48a7-8c2a38c3398c AT cornell DOT edu> From: Norton Allen Message-ID: <0ccd17b6-c22a-1a18-9409-1ebcfae60868@huarp.harvard.edu> Date: Fri, 27 Sep 2019 09:37:40 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <5b225738-c2d7-fbfe-48a7-8c2a38c3398c@cornell.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Note-from-DJ: This may be spam 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