How to add SSH key to github Account in ubuntu

Step 1 – Generate SSH key first

ssh-keygen -t ed25519 -C “your-github-email@email.com”




Just press enter 



again press enter , now your key will generate 


Step 2 – Copy the new SSH key 

 cat /home/kahnucharanswain/.ssh/id_ed25519.pub

please use your path eg. 
Step 3 – Copy the whole key 

Step -4 Open github account -> settings ->SSH and GPG keys

step 5 – click on new ssh key now add the copied ssh key 

Now click Add SSH key to add the ssh 

Done!!!

Leave a Comment

Your email address will not be published. Required fields are marked *