public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Chris Rodgers <ctr28@cam.ac.uk>
To: cygwin@cygwin.com
Subject: ssh-pageant
Date: Thu, 23 Apr 2020 14:50:49 +0100	[thread overview]
Message-ID: <5f24168f-61d7-848b-677d-bf0d5aea303a@cam.ac.uk> (raw)

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.


             reply	other threads:[~2020-04-23 13:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23 13:50 Chris Rodgers [this message]
2020-04-23 14:11 ` ssh-pageant Thomas Wolff
2020-04-23 18:31   ` ssh-pageant Andrey Repin
2020-04-23 18:59     ` ssh-pageant Thomas Wolff
2020-04-23 20:27       ` ssh-pageant Bill Stewart
2020-04-23 16:40 ` ssh-pageant Chris Rodgers
2020-04-23 16:47   ` ssh-pageant Chris Rodgers
2020-04-23 19:44     ` ssh-pageant Chris Rodgers
2020-04-23 18:33 ` ssh-pageant Brian Inglis
2020-04-23 20:02 ` ssh-pageant Andrey Repin
2020-04-23 20:20   ` ssh-pageant Chris Rodgers
2020-04-23 20:51     ` ssh-pageant Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f24168f-61d7-848b-677d-bf0d5aea303a@cam.ac.uk \
    --to=ctr28@cam.ac.uk \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).