Thank you so much! I was not looking to have an ssh-agent cache my password. I wanted it to prompt me every time for my passphrase. Adding the following line to my .emacs file does exactly what I wanted: (setenv "SSH_ASKPASS" "git-gui--askpass")
Now I get a prompt, and magit successfully can pull or push. - Erik On Fri, Nov 4, 2016 at 4:01 PM, Noam Postavsky <[email protected]> wrote: > On Fri, Nov 4, 2016 at 5:47 PM, Erik van Zwol <[email protected]> wrote: > > git push works fine from the windows command line and from git-bash, but > doesn't work from magit. > > > > When on the command line, I get a prompt for my passphrase. But when I > try to push from magit, I get the following: > > > > 128 C:/Program Files/Git/mingw64/libexec/git-core/git … push -v origin > tag_comms:refs/heads/tag_comms > > Pushing to [email protected]:FakeGroup/FakeRepo.git > > By ssl you meant ssh? Or https? From the URL I guess the former. Try > installing ssh-agency, > see https://github.com/magit/magit/wiki/Pushing-with-Magit- > from-Windows#before-starting-set-home > and https://github.com/magit/magit/wiki/Pushing-with-Magit- > from-Windows#openssh-passphrase-caching-via-ssh-agent > > -- > You received this message because you are subscribed to a topic in the > Google Groups "magit" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/magit/DpWriJ5ZNfM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "magit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
