Registered Member
|
Hi, I recently installed Kubuntu 18.04. I used to have an old Ubuntu 14.04 with KDE installed on it. When I worked with git on that one, a gui popup appeared for the password. But now, on 18.04, it ask for my passphrase on the console I'm running the commands.
Is there a way to have that GUI prompt back? Thanks! |
Registered Member
|
|
Registered Member
|
Funny, GIT_ASKPASS is NOT defined, but core.askPass and SSH_ASKPASS are both defined to /usr/bin/ssh-askpass, which is definetely a GUI.
|
Registered Member
|
I've read that maybe ssh or ssh-agent is being used, how to tell THEM to use the GUI?
|
Registered Member
|
I did all that. Where do I change http to git?
|
Registered Member
|
|
Registered Member
|
Mmm okay my project is actually on ssh, not https. If I do ssh-add -c and input my password, then on git pull I GET the GUI prompt, but the pull fails with:
sign_and_send_pubkey: signing failed: agent refused operation If I do ssh-add and input my password, then on git pull I DO NOT GET the GUI prompt, but the pull works. Any hints? |
Registered Member
|
I got it working with this git config:
[credential] helper = cache [core] askPass = /usr/bin/ksshaskpass sshCommand = setsid ssh No idea why though, I didn't have that config on my other system before updating to Kubuntu 18.04... Thanks anyway! |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]