public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Chris Rodgers <ctr28@cam.ac.uk>
To: cygwin@cygwin.com
Subject: Re: ssh-pageant
Date: Thu, 23 Apr 2020 20:44:45 +0100	[thread overview]
Message-ID: <5dcc4f61-608e-b4b2-9cd9-b2f8272a0ad1@cam.ac.uk> (raw)
In-Reply-To: <7e729684-09ee-3cfd-ad2d-7eb0cf8efac8@cam.ac.uk>

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.


  reply	other threads:[~2020-04-23 19:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23 13:50 ssh-pageant Chris Rodgers
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     ` Chris Rodgers [this message]
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=5dcc4f61-608e-b4b2-9cd9-b2f8272a0ad1@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).