#941828 git: fatal: could not read Password for <url>: Permission denied

Package:
git
Source:
git
Description:
fast, scalable, distributed revision control system
Submitter:
Heinrich Schuchardt
Date:
2019-10-06 04:45:03 UTC
Severity:
normal
#941828#5
Date:
2019-10-06 02:58:44 UTC
From:
To:
Dear Maintainer,

since the last KDE plasma update git push fails with an error

git: fatal: could not read Password for <url>: Permission denied

When working locally I can use

export GIT_ASKPASS=`which ksshaskpass`

as a workaround.

But that does not help if I am working via SSH.

How can I simply enter the password on the console?

Best regards

Heinrich Schuchardt

#941828#10
Date:
2019-10-06 04:42:15 UTC
From:
To:
The problem seems to stem from missing accessibility of /dev/tty:

$ ls /dev/tty -la
crw--w---- 1 root tty 5, 0 Oct  6 06:19 /dev/tty