Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 27, 2022 07:28 am GMT

SSH connection to Github

setting this up on ubuntu / linux

  • assuming no existing key is present // generate ssh keypair
$ ssh-keygen -t ed25519 -C "[email protected] or username"
  • add private key to ssh-agent // why??
$ ssh-add ~/.ssh/id_ed25519
  • copy public key and add to github account (settings>access>ssh keys)
public key details is here$ cat ~/.ssh/id_ed25519.pub  # Then select and copy the contents of the id_ed25519.pub file  # displayed in the terminal to your clipboard
  • test ssh connection from terminal

Ref : https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh


Original Link: https://dev.to/amogh2019/setting-up-laptop-ssh-connection-to-github-5039

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To