September 22, 2019

Cannot Run SSH Askpass

This kept me busy a while tonite, stupid me.

I use QT Creator for a little Qt project. And of course I wanted to make use of git to push my changes to gitlab (I hardly use github any more). But I kept getting the following message:

error: cannot run ssh-askpass: Datei oder Verzeichnis nicht gefunden
fatal: could not read Username for 'https://gitlab.com': Kein passendes Gerät bzw. keine passende Adresse gefunden
The command "/usr/bin/git" terminated with exit code 1.

I installed x11-ssh-askpass, I installed openssh-askpass, but the error persisted. Until I took a closer look at the Arch Wiki Site on SSH. Somewhere it states ssh-askpass was installed in /usr/lib/ssh/ which is not in the PATH for most people.

So after setting the SSH prompt command in QT Creator Options to /usr/lib/ssh/ssh-askpass, all worked fine…

© tonnerkiller

Powered by Hugo & Kiss.