From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4193 invoked by alias); 27 Sep 2019 13:37:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 4187 invoked by uid 89); 27 Sep 2019 13:37:44 -0000 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 Received: from endymion.arp.harvard.edu (HELO endymion.arp.harvard.edu) (140.247.179.94) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Sep 2019 13:37:42 +0000 Received: from [10.245.83.34] (unknown [10.245.83.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by endymion.arp.harvard.edu (Postfix) with ESMTPSA id 9DA586C00EF for ; Fri, 27 Sep 2019 09:37:40 -0400 (EDT) Subject: Re: ssh-agent doesn't die To: cygwin@cygwin.com References: <319e26c0-32f0-40b7-2137-c7de170a3486@rl.ac.uk> <5b225738-c2d7-fbfe-48a7-8c2a38c3398c@cornell.edu> From: Norton Allen Message-ID: <0ccd17b6-c22a-1a18-9409-1ebcfae60868@huarp.harvard.edu> Date: Fri, 27 Sep 2019 14:12:00 -0000 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 X-SW-Source: 2019-09/txt/msg00272.txt.bz2 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