Video

Latest

How to create ssh key and login to github via ssh





Generate the ssh key

-------------------------------------------------

ssh-keygen -t rsa

cat ~/.ssh/id_rsa.pub


(Add the ssh key to github account)


ssh -T git@github.com (verify)


Add Permanently

---------------------------------------------

Subu@DESKTOP-DET3QUA MINGW64 ~/Desktop 

$ eval "$(ssh-agent -s)" 

Agent pid 1662 


Store Permanently

-------------------------------------------

Subu@DESKTOP-DET3QUA MINGW64 ~/Desktop 

$ ssh-add ~/.ssh/id_rsa 

Identity added: /c/Users/Subu/.ssh/id_rsa (Subu@DESKTOP-DET3QUA)





 

No comments