Linux SSH Keys | SSH keys for GitHub | Connecting to GitHub with SSH | Tutorial

Published: 18 May 2022
on channel: Scientific Programming School
117
3

SSH keys for GitHub
You can connect to GitHub using the Secure Shell Protocol (SSH), which provides a secure channel over an unsecured network.

About SSH
Checking for existing SSH keys
Generating a new SSH key and adding it to the ssh-agent
Adding a new SSH key to your GitHub account
Testing your SSH connection
Working with SSH key passphrases

Source:    • How to generate SSH keys for GitHub  
Credit: KAUST Visualization Core Lab
Original License: Creative Commons Attribution license (reuse allowed)

Using the SSH protocol, you can connect and authenticate to remote servers and services. With SSH keys, you can connect to GitHub without supplying your username and personal access token at each visit.

When you set up SSH, you will need to generate a new SSH key and add it to the ssh-agent. You must add the SSH key to your account on GitHub before you use the key to authenticate. For more information, see "Generating a new SSH key and adding it to the ssh-agent" and "Adding a new SSH key to your GitHub account."

You can further secure your SSH key by using a hardware security key, which requires the physical hardware security key to be attached to your computer when the key pair is used to authenticate with SSH. You can also secure your SSH key by adding your key to the ssh-agent and using a passphrase. For more information, see "Working with SSH key passphrases."

To use your SSH key with a repository owned by an organization that uses SAML single sign-on, you must authorize the key. For more information, see "Authorizing an SSH key for use with SAML single sign-on" in the GitHub Enterprise Cloud documentation.

To maintain account security, you can regularly review your SSH keys list and revoke any keys that are invalid or have been compromised. For more information, see "Reviewing your SSH keys."

If you haven't used your SSH key for a year, then GitHub will automatically delete your inactive SSH key as a security precaution. For more information, see "Deleted or missing SSH keys."

“Software Carpentry” and “Data Carpentry” and their respective logos are registered trademarks of Community Initiatives.


Must watch ❤️

Linux Data Science Project #1: How to Analyze US University Ranks at Linux Command Line?
   • Linux Data Science Project #1: How to...  

Linux Data Science Project #2: Facebook Data Analytics with Linux Bash Shell
   • Linux Data Science Project #2: Facebo...  

Linux Data Science Project #3: Statistical Data Analytics with Linux Bash Shell
   • Linux Data Science Project #3: Statis...  

Learn Practical Data Sciences with Bash Shell: Full Video Course!
   • Learn Practical Data Sciences with Ba...  

Scientific Programming School - An Introduction
   • Scientific Programming School - An In...  

Join us! 🚀
Like our FB Page:   / learnscientific  
Our Website: https://scientificprogramming.io/


On this page of the site you can watch the video online Linux SSH Keys | SSH keys for GitHub | Connecting to GitHub with SSH | Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Scientific Programming School 18 May 2022, share the link with friends and acquaintances, this video has already been watched 117 times on youtube and it was liked by 3 viewers. Enjoy your viewing!