Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Save GIT Credentials using Git Credential Manager for Windows - Not working

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

  • git version 2.6.2.windows.1 loaded from here https://git-scm.com/download/win
  • OpenSSH_3.8.1p1
  • https://github.com/Microsoft/Git-Credential-Manager-for-Windows

My Environment Steps I took

like image 612
David Cruwys Avatar asked Nov 06 '15 05:11

David Cruwys


People also ask

How do I save Git-credentials in Windows?

You can use git-credential-store to store your passwords unencrypted on the disk, protected only by the permissions of the file system. You can check the credentials stored in the file ~/.git-credentials .

How do I enable Git credential Manager in Windows?

To install the Git Credential Manager, download and double-click the GCMW-1.20. 0.exe installer. It is that easy, it will even install Git for Windows and the Microsoft . Net Framework for you if necessary.


1 Answers

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)

like image 52
VonC Avatar answered Oct 10 '22 14:10

VonC