In this shot, we will cover how to configure your GitHub account to use your new (or existing) SSH key.
Note: DSA keys (SSH-DSS) are not supported by GitHub.
Copy your SSH key to your clipboard.
The key is usually found in the .ssh folder in the user’s home directory.
Go to GitHub Settings.
In the upper-right corner of any page, click your profile photo, then click Settings.
Click SSH and GPG keys.
In the user settings sidebar, click SSH and GPG keys.
Click ‘New SSH key’ or ‘Add SSH key’.
Clicking will open a form.
Add a title.
In the ‘Title’ field, add a descriptive label for the new key.
Paste your key into the ‘Key’ field.
Click ‘Add SSH key’.
Enter your GitHub password.
If prompted, confirm your GitHub password.
That’s it! You can now reconfigure any local repositories to use SSH.
View all Courses