X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2A67F3851C09 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cam.ac.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ctr28 AT cam DOT ac DOT 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:Cc:To:From:Subject:Sender:Reply-To: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=p85vWFbEGGa7tTrI2+f/twBvg4anQDQ2Emm0b85P8HI=; b=QNZey9Q2xmp//LSsSNAggBSqLE X/XKuTvp1M6VNwMZEHDCv5GsSnNTOhkcpQb8XJJuMCg6mVdlLryLeKiQuYciKOtOZF9R98gwVH2xY rTZagd7/0BLaImaxf55LGDHn8OZTMyQZMUcqnt0SuIuX/HErj4VgOX2tsE2zS8AAMlio=; X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus Subject: Re: ssh-pageant From: Chris Rodgers To: cygwin AT cygwin DOT com References: <5f24168f-61d7-848b-677d-bf0d5aea303a AT cam DOT ac DOT uk> <569cc14c-a9f8-e9bb-0700-d244968cdd30 AT cam DOT ac DOT uk> Message-ID: <7e729684-09ee-3cfd-ad2d-7eb0cf8efac8@cam.ac.uk> Date: Thu, 23 Apr 2020 17:47:09 +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: <569cc14c-a9f8-e9bb-0700-d244968cdd30@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 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 23/04/2020 17:40, Chris Rodgers wrote: > > Thomas Wolff wrote: > >> >/Would it be acceptable to update the ssh-pageant package to add a file />//etc/profile.d/ssh-pageant.sh that does this automatically? /Does what? Add something to other users' profiles? P.S. I realise I may have been unclear. By "does this" I mean running > |eval $(/usr/bin/ssh-pageant -r -a "/tmp/.ssh-pageant-$USERNAME")| when ssh-pageant package is installed on the system, as a line in /etc/profile.d/ssh-pageant.sh file included with the package. There would then not be any changes to the per-user .bash_profile or .bashrc files. BW Chris. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple