bups
bups copied to clipboard
Do not hardcode askpass path
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.
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.
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?
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.
Just to add to @Aerilius can use this for Seahorse sudo ln -s /usr/lib/seahorse/seahorse-ssh-askpass /usr/lib/ssh/ssh-askpass.