Ubuntu/Debian - Setup SSH Access for GitHub

Ubuntu/Debian - Setup SSH Access for GitHub

Step 01 List Your SSH Items in Your SSH Folder

List Your SSH Items in Your SSH Folder

Double check so we don't override any existing settings by listing everything currently in the SSH folder. If a GitHub key exists check to see if it's usable if not, then clear to go.

Step 02 Go to the SSH Directory

Go to the SSH Directory

Point command line to SSH directory for Ubuntu.

Step 03 Use Generator to Generate Key Tied to Your GitHub User's Email

Use Generator to Generate Key Tied to Your GitHub User's Email

Use Ubuntu's key generator and start the process to generate a SSH key for you GitHub account. Make sure to use the proper email you use to login into GitHub.

Step 04 Add _rsa File Name

Add _rsa File Name

Name your RSA file, it can be anything but if you're following additional tutorials consider using GitHub as the name since other tutorials may call to that RSA file.

Step 05 Make Sure SSH Agent is On

Make Sure SSH Agent is On

Run the following command to make sure SSH agent is on.

Step 06 Tie in Your New SSH Key to SSH

Tie in Your New SSH Key to SSH

Run the following command to tie-in your new RSA file to SSH.

Step 07 Get SSH Key to Paste into GitHub

Get SSH Key to Paste into GitHub

Get an on-screen print out of your public SSH key to you GitHub security configuration.

Step 08 SSH Github Test

SSH Github Test

Use the following command to test your configuration.