Skip to content

Tech Tutorials

Tutorial - Setup a SSH Key for Your Github Account

Step 1

List SSH Directory

List SSH directory. It's not %100 necessary but good to know if you have existing Github SSH keys.

Updated on November 13 2019
Step 2

Go into Your SSH Directory

Go into the ssh directory by running the the cd command also called the change directory command.

Updated on November 13 2019
Step 3

Use SSH Generator to Generate Key for Your GitHub Account

Generate a SSH key using the Linux ssh-keygen command using your own email attached to you GitHub account.

Updated on November 13 2019
Step 4

Add RSA File by Following the on Screen Steps

Follow each on-screen step to generate a RSA file. Doesn't have to be named github_rsa but as a suggestion copy the below name for better organization.

Updated on November 13 2019
Step 5

Make Sure SSH Agent is On

Updated on November 13 2019
Step 6

Add Information to SSH

For single sign-on capabilities, make sure to add your new SSH configuration to the ssh-agent helper program to keep track of your identtiy gey and passphares. This is to make sure you don't have to type a password all the time.

Updated on November 13 2019
Step 7

Check and Copy SSH Key

There're several ways to copy a SSH key, since everyone doesn't have programs like xcopy installed. This is the most universal (but manual) way to copy your public SSH key to your GitHub account.

Updated on November 13 2019
Step 8

SSH Github Test

Testing your SSH to make sure your Github setup is correct. Even if the reply is "Hi USERNAME! You've successfully authenticated, but GitHub does not provide shell access." means you're all good, and setup correctly.

Updated on November 13 2019