Generating SSH key for GitHub

Meet Raval
2 min readFeb 14, 2022

--

It’s as easy as 1,2,3….

Photo by Roman Synkevych on Unsplash

Step 1 : Generating SSH key

Open your preferred terminal and type ssh-keygen then hit enter.

ssh-keygen command

There will be some questions like Enter Passphrase. Honestly I would not keep any password for ease of use.

No Password Is Good Password :)

Step 2 : Copying the SSH key from the Terminal

After generating the SSH key there will be an Address printed of Where the public SSH key has been saved, that address will be used in this step.

SSH key Address

For Mac or Linux Terminal:

pbcopy < [Public_key_address]

For Windows Terminal:

clip < [Public_key_address]

Step 3 : Adding the SSH key to your Github account

Go to your Github account and login.

Then Go to the Settings > SSH and GPG keys > New SSH Key
Then add any random name you want and Paste the SSH key there.

New SSH Key

Then in the final step Save the key and voila, it’d done.

Final Step

And If you are reading this make sure to have a very healthy & happy day :)

--

--

Meet Raval

Software Developer at Arctic Wolf. Want to make the world a better place.