X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C5DD7385DC0B
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:MIME-Version:Date:Message-ID:Subject:From:Cc
 :To:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=ztNVQlz9oz5ygehd+rvgT/QvilSKOxkttUeWPQvqge0=; b=EMDI5EUCCnT0QD4cMEuBVq+wcw
 6Pl8EtZvcGnA5Oyl//raMO9mSEAKmuttaQrAR8NCk/u2dO4cS7Odnok1XzuW4eLo0f72f6UdN4vdc
 4jyIfbjUF1fFHOrqO3puf2jtye8bJaT1Y+4cpA0FANp3qPAP1ZcsN8fjsuwzmv6a120w=;
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
To: cygwin@cygwin.com
From: Chris Rodgers <ctr28@cam.ac.uk>
Subject: ssh-pageant
Message-ID: <5f24168f-61d7-848b-677d-bf0d5aea303a@cam.ac.uk>
Date: Thu, 23 Apr 2020 14:50:49 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.9.1
MIME-Version: 1.0
Content-Language: en-GB
X-Spam-Status: No, score=-2.0 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@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Hi,

I find the ssh-pageant package helpful to enable cygwin ssh to interact 
seamlessly with PuTTY's Pageant SSH agent. One small issue is that after 
installing, one has to add the lines:

> |# ssh-pageant eval $(/usr/bin/ssh-pageant -r -a 
> "/tmp/.ssh-pageant-$USERNAME")|
(see https://github.com/cuviper/ssh-pageant) 
<https://github.com/cuviper/ssh-pageant>to .bashrc for each user.

Would it be acceptable to update the ssh-pageant package to add a file 
/etc/profile.d/ssh-pageant.sh that does this automatically?

Or is there another preferred way to do this, e.g. a postinstall script?

I'd be happy to draft a script file for review.

Thanks,

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
