From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ppsw-30.csi.cam.ac.uk (ppsw-30.csi.cam.ac.uk [131.111.8.130]) by sourceware.org (Postfix) with ESMTPS id 2773E395A023 for ; Thu, 23 Apr 2020 19:44:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2773E395A023 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cam.ac.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ctr28@cam.ac.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cam.ac.uk; s=20180806.ppsw; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID: References:To:From:Subject:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IEbOuTD8Gh0ImWIPZX7yVJESQQNRkK2DR3ShGF/vdWA=; b=OWUUesK8tlvD2alj6UuLC1DW5Z +6oBOJW0ksJ8KQZHVDwRGwCUHsJGkcFlrimxUPmIO7MMnNbQ3SlB39IUKOi2SwGmotHyXPLwIGfal +W9hgwYZkB+aLeK6uwJGDQfDQPIimVKHXKZYzw1JMOeyOiklA3e7+Zy42GBWhCzKTTwk=; X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus Received: from 171.201.208.46.dyn.plus.net ([46.208.201.171]:58318 helo=[192.168.9.218]) by ppsw-30.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:ctr28) (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1jRhmA-000XPm-dC (Exim 4.92.3) for cygwin@cygwin.com (return-path ); Thu, 23 Apr 2020 20:44:46 +0100 Subject: Re: ssh-pageant From: Chris Rodgers To: cygwin@cygwin.com References: <5f24168f-61d7-848b-677d-bf0d5aea303a@cam.ac.uk> <569cc14c-a9f8-e9bb-0700-d244968cdd30@cam.ac.uk> <7e729684-09ee-3cfd-ad2d-7eb0cf8efac8@cam.ac.uk> Message-ID: <5dcc4f61-608e-b4b2-9cd9-b2f8272a0ad1@cam.ac.uk> Date: Thu, 23 Apr 2020 20:44:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <7e729684-09ee-3cfd-ad2d-7eb0cf8efac8@cam.ac.uk> Content-Language: en-GB X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2020 19:44:49 -0000 So.. one more thing to consider. I just had a look in the cygwin package search for packages shipping files in /etc/profile.d/ It turns out that one example already shipping in Cygwin is http://www.cygwin.com/packages/x86_64/gnome-ssh-askpass/gnome-ssh-askpass-7.4-1 > > gnome-ssh-askpass: GTK+ passphrase grabber for ssh-add > > 2017-03-17 00:34 0 etc/ > 2017-03-17 00:34 0 etc/profile.d/ > 2017-03-17 00:34 97 etc/profile.d/gnome-ssh-askpass.csh > 2017-03-17 00:34 52 etc/profile.d/gnome-ssh-askpass.fish > 2017-03-17 00:34 52 etc/profile.d/gnome-ssh-askpass.sh > 2017-03-17 00:34 0 usr/ > 2017-03-17 00:34 0 usr/lib/ > 2017-03-17 00:34 0 usr/libexec/ > 2017-03-17 00:34 14867 usr/libexec/gnome-ssh-askpass.exe > 2017-03-17 00:34 0 usr/share/ > 2017-03-17 00:34 0 usr/share/doc/ > 2017-03-17 00:34 0 usr/share/doc/gnome-ssh-askpass/ > 2017-03-17 00:34 1253 usr/share/doc/gnome-ssh-askpass/COPYING > 2017-03-17 00:34 531 usr/share/doc/gnome-ssh-askpass/README There, 3 shell scripts are provided to cover users of several shells. I could do that. And the contents are: > $ cat gnome-ssh-askpass.sh > export SSH_ASKPASS="/usr/libexec/gnome-ssh-askpass" > > $ cat gnome-ssh-askpass.csh > if ( ! $?SSH_ASKPASS ) setenv SSH_ASKPASS "" > setenv SSH_ASKPASS "/usr/libexec/gnome-ssh-askpass" > > $ cat gnome-ssh-askpass.fish > set -x SSH_ASKPASS "/usr/libexec/gnome-ssh-askpass" Is there any mileage in the argument that if we do this for Gnome's SSH helper, we can also reasonably do it for ssh-pageant? I'll leave this for now and see whether anyone else has an opinion. Best wishes, Chris.