Managing your SSH keys
GitHub provides two ways to authenticate a user when using Git. You can use Git over HTTP or Git over SSH. For a detailed explanation of the Git protocols, visit https://git-scm.com/book/ch4-1.html.
When using Git over HTTP, you must provide your username and password each time you make a change, unless you cache your GitHub password in Git. For more details, see the article at https://help.github.com/articles/caching-your-github-password-in-git/.
The preferred and more secure way is to use Git over SSH. The concept is that you create a personal unique SSH key pair whose public key you upload to your GitHub profile. You can repeat this process as many times as you wish since GitHub allows you to have multiple SSH keys ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access