Setup Github ssh key(Ubuntu)

An SSH key is an access credential for the SSH (secure shell) network protocol. This authenticated and encrypted secure network protocol is used for remote communication between machines on an unsecured open network. SSH is used for remote file transfer, network management, and remote operating system access.

Before starting this article, I am assuming that your GitHub account has set up on your machine. If your user is not set up you should follow this article.

There are some basic steps to setup ssh key:-

  1. Open Terminal.
  2. Paste the text below, substituting in your GitHub email address.

3. Start the ssh-agent in the background.

4. Add your SSH private key to the ssh-agent.

Note:- After adding the key. You will have to locate the hidden .ssh folder, open the id_ed25519.pub file in your favorite text editor and copy it to your clipboard.

Add the SSH key to your GitHub account.

  1. In the upper-right corner of any page, click your profile photo, then click Settings.

2. In the user settings sidebar, click SSH and GPG keys.

3. Click New SSH key or Add SSH key.

4. Paste your key into the “Key” field.

If it will ask userId and password for confirmation then you will have to enter.

Now, you can perform your GitHub activities without userId and password.

That’s it for this time! I hope you enjoyed this post. As always, I welcome questions, notes, comments and requests for posts on topics you’d like to read. See you next time! Happy Coding !!!!!

--

--

I’m a MERN Developer. ( Redux | AWS | Python ) I enjoy taking on new things, building skills, and sharing what I’ve learned.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ankit Kumar Rajpoot

I’m a MERN Developer. ( Redux | AWS | Python ) I enjoy taking on new things, building skills, and sharing what I’ve learned.