The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

How to authenticate with GitHub using SSH

How to authenticate with GitHub using SSH

3:34
Anytime you push code to GitHub, you must be authenticated so GitHub knows you are authorized to make changes. In this lesson we’ll learn how to authenticate with GitHub using SSH so we don’t have to enter our username and password each time we push code to GitHub.
Watch this lesson now
Avatar
egghead.io

Anytime you push code to GitHub, you must be authenticated so GitHub knows you are authorized to make changes. In this lesson we’ll learn how to authenticate with GitHub using SSH so we don’t have to enter our username and password each time we push code to GitHub.

Avatar
Frederic Rey

Hi!

I had the error "Could not open a connection to your authentication agent"
when I tried the 'ssh-add' command (Windows 10 x64 & Git Bash).
That being said,I was able to make it work by executing the following commands before (thanks StackOverflow)

exec ssh-agent bash
eval ssh-agent -s

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?