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.
--
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