Setup Github ssh key(Ubuntu)

  1. Open Terminal.
  2. Paste the text below, substituting in your GitHub email address.
$ ssh-keygen -t ed25519 -C "your_email@example.com"
Generating public/private key
$ eval "$(ssh-agent -s)"
Start ssh-agent
$ ssh-add ~/.ssh/id_ed25519
Add key

Add the SSH key to your GitHub account.

  1. In the upper-right corner of any page, click your profile photo, then click Settings.
Menu
SSH and GPG keys
New SSH key
Add SSH key
After Adding

--

--

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

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.