1 / 6

How to Add New SSH Key in GitHub

You need to add public SSH key to GitHub account for SSH key-based authentication. Here is how to add new SSH key to GitHub.<br><br>Visit https://fedingo.com/how-to-add-new-ssh-key-in-github/

Download Presentation

How to Add New SSH Key in GitHub

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to Add New SSH Key in GitHub

  2. Check Available SSH Keys Run the following command to check if there are any SSH keys. $ ls -la ~/.ssh

  3. Generate New SSH Key Run the following command to generate new SSH key. $ ssh-keygen

  4. Add Public SSH Key to GitHub Account Login to your GitHub account. At top right corner, clock Profile icon and then click Settings. In the left sidebar, click SSH and GPG keys. Click New SSH Key. You will see a form where you need to copy-paste the content of your public key file id_rsa.pub. Click Add SSH Key when you are done.

  5. Test Setup You can test if the new key is working by cloning a git repository to your local system, using its Git URL. $ git clone git@github.com:username/reponame.git

  6. Thank You Visit for details https://fedingo.com/how-to-add-new-ssh-key-in-github/

More Related