An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
November 27, 2022 07:28 am GMT
Original Link: https://dev.to/amogh2019/setting-up-laptop-ssh-connection-to-github-5039
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
$ ssh -T [email protected]
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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To