15

I would like my SSH passwords to be remembered automatically when running git pull/push on windows.

I have installed the Microsoft - Git Credential Manager for Windows

The Git Credential Manager is not Working

Environment

My Environment Steps I took

asked Nov 6, 2015 at 5:12

1 Answer 1

21

There is no magic because the credential helper is for storing https credentials, not ssh passphrase ones for private keys.

Try an ssh agent, as described in "Working with SSH key passphrases".
Note that is ssh is asking you for a password (not a passphrase), that also could be because your ssh public key is not properly registered on the remote site (and it falls back to username/password way of authentication)

answered Nov 6, 2015 at 5:45
Sign up to request clarification or add additional context in comments.

Thanks for the insight
This is correct, the git-credential-manager does not (yet) support storing your SSH credentials and is currently only intended for HTTPS authentication.
I decided to just use the HTTPS remote url's instead of SSH
@DavidCruwys - "Note that is ssh is asking you for a password (not a passphrase)" -- I'm having this same problem, and the prompt I get over and over is "Enter passphrase for key '/c/Users/Scott/.ssh/ed25519'. You're saying that's not SSH asking for the passphrase?
@ScottSmith passphrase means SSH. And ssh-agent to cache it.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.