![]() ![]() Run ssh-add -K or ssh-add ~/.ssh/id_rsa to add the key to keychain again. Sometimes the connection between SSH and the passphrases stored in the keychain can break. If the Git credential helper is configured correctly macOS saves the passphrase in the keychain. Note: The first method will cache the credentials in memory, whereas the second will store them in ~/.git-credentials in plain text format.Ĭheck here for more info about Linux method.Ĭheck here for more info about all three. OR git config -global credential.helper store // if you want to store the credentials for ever (considered unsafe) It enables Git to use file Keychain.app to store username and password and to retrieve the passphrase to your private SSH key from the keychain.įor Windows use: git config -global credential.helper wincredįor Linux use: git config -global credential.helper cache // If you want to cache the credentials for some time (default 15 minutes) On OS X (now macOS), run this in Terminal: git config -global credential.helper osxkeychain
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |