bups icon indicating copy to clipboard operation
bups copied to clipboard

Do not hardcode askpass path

Open emersion opened this issue 9 years ago • 4 comments

The way you are hardcoding the path it seems to suggest it will only work with x11-ssh-askpass, and not one of the alternatives like openssh-askpass or lxqt-openssh-askpass. Not sure if there is a clever way to work around that.

emersion avatar Jun 20 '16 19:06 emersion

Just hit that. Really annoying as I couldn't figure out that the other askpass alternatives don't symlink to /usr/lib/ssh/ssh-askpass. As a side fix x11-ssh-askpass should be set as an optional dependency for Arch along with encfs.

zamber avatar Feb 14 '17 23:02 zamber

I worked around this (on Ubuntu Gnome) by symlinking sudo mkdir /usr/lib/ssh/; sudo ln -s /usr/lib/openssh/gnome-ssh-askpass /usr/lib/ssh/ssh-askpass There exists also /etc/alternatives/ssh-askpass which is probably the safer path to use?

Aerilius avatar Aug 05 '17 11:08 Aerilius

On Gentoo, ssh-askpass is provided as /usr/lib64/misc/ssh-askpass which symlinks to /usr/bin/x11-ssh-askpass. So, I guess, unfortunately, actual location seems to be highly dependent on the distribution. Also, if I'm not mistaken, /etc/alternatives/... is debian-specific and only works on Debian and derivates.

mittwinter avatar Aug 09 '17 13:08 mittwinter

Just to add to @Aerilius can use this for Seahorse sudo ln -s /usr/lib/seahorse/seahorse-ssh-askpass /usr/lib/ssh/ssh-askpass.

da-n avatar Aug 13 '17 19:08 da-n