0

Q: magit no longer prompts me for my ssh key when pushing/pulling; how do I fix it?

After an OS upgrade (Lubuntu 19.04 to 19.10), I can no longer push to origin from magit. Pushing to origin results in a process that hangs when invoked from magit; I have to kill that process manually. The problem seems to be that Emacs no longer prompts me for my public ssh key, and just sits there humming quietly to myself while git waits for it.

Pushing from a terminal using the same command that magit uses works as expected, since I can enter my ssh key unimpeded.

How do I figure out what could be causing this to happen?

1 Answer 1

1

This is due to an update to OpenSSH 8.1. that changes the confirmation prompt when connecting to a new remote. The issue has been fixed a couple weeks ago.

Updating magit should be enough.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.