git suddenly started putting up a dialog instead of asking for my password on the command line

Liam Proven lproven at gmail.com
Tue Sep 22 15:36:42 UTC 2020


On Tue, 22 Sep 2020 at 16:25, Joel Rees <joel.rees at gmail.com> wrote:
>
> Git has suddenly started putting up a dialog box to ask for my
> credentials instead of asking for my credentials at the command line.
>
> I found the suggestion to set the following git configuration,
>
>     git config --global credential.modalPrompt false
>
> but it doesn't change anything.
>
> Any suggestions what I might have installed, or what update might have
> changed this behavior?

There are too many variables to say just yet.

Just standalone local Git, or talking to a remote repo such as Github or Gitlab?

If a remote Git host, which one? How did you authenticate to it before?

E.g. in $DAYJOB I usually use Github. I do have password-based login,
but with 2-factor authentication as well (for 1 particular repo).
However from the command line I use ssh to pull and push,
authenticated using GNUPG.
I have created a key and uploaded it to Github so it knows I'm me and
so I never enter any passwords; I unlock the key locally before use. I
used to do this manually with `ssh-add` but now I've added it to my
startup scripts.

-- 
Liam Proven – Profile: https://about.me/liamproven
Email: lproven at cix.co.uk – gMail/gTalk/gHangouts: lproven at gmail.com
Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053




More information about the ubuntu-users mailing list