gitless icon indicating copy to clipboard operation
gitless copied to clipboard

gl publish requires GUI ssh-askpass?

Open lordminx opened this issue 7 years ago • 0 comments
trafficstars

While experimenting with gitless I stumbled on the following error when pushing to a newly added remote:

✘ ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory

[email protected]: Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Since a regular git push worked fine I was somewhat confused. After some internet research I realized that either gitless or pygit2 seem to assume the installation of a graphical ssh-askpass frontend for querying the user for the password of the ssh-keyfile.

This was not installed by default on my Manjaro Linux system, but after installing x11-ssh-askpass things worked again.

This should either be fixed not not rely on a seperatly installed GUI tool (for maximum portability) or at least mentioned under gitless' installation notes.

lordminx avatar Feb 16 '18 12:02 lordminx