2

On my mac Git asks me for username and password everytime i login although i followed the step by step instructions at https://help.github.com/enterprise/2.3/user/articles/generating-ssh-keys/

trial999
  • 1,646
  • 6
  • 21
  • 36
  • 1
    Possible dupe http://stackoverflow.com/questions/6565357/git-push-requires-username-and-password – Gonfva Nov 09 '15 at 11:07
  • Does this answer your question? [Why is github asking me username/password although I setup SSH authentication?](https://stackoverflow.com/questions/46337566/why-is-github-asking-me-username-password-although-i-setup-ssh-authentication) – Henke Dec 22 '20 at 16:45

1 Answers1

0

i was able to resolve this by following the steps at https://help.github.com/articles/caching-your-github-password-in-git/

Used the following command as i was having it installed already:

git config --global credential.helper osxkeychain

And now it doesnt ask for login credentials.

trial999
  • 1,646
  • 6
  • 21
  • 36
  • 1
    Don't know why this was selected as a correct answer. It doesn't answer the question, which is about how to login with SSH keys, not with username / password. – geoidesic Nov 15 '18 at 14:58