13

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

David Cruwys
  • 6,262
  • 12
  • 45
  • 91

1 Answers1

17

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)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thanks for the insight – David Cruwys Nov 06 '15 at 06:40
  • This is correct, the git-credential-manager does not (yet) support storing your SSH credentials and is currently only intended for HTTPS authentication. – whoisj Nov 06 '15 at 16:05
  • I decided to just use the HTTPS remote url's instead of SSH – David Cruwys Nov 08 '15 at 21:48
  • @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? – Scott Smith Apr 21 '22 at 23:19
  • @ScottSmith passphrase means SSH. And ssh-agent to cache it. – VonC Apr 22 '22 at 06:25