🐈‍⬛

【GitHub】Authentication Setup

2023/02/03に公開

Install git

sudo apt install -y git

Register Github by SSH

ssh-keygen -t ed25519 -C "user@email.com". Press Enter several times.
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub

Upload SSH key to URL below.
https://github.com/settings/ssh/new

ssh to github

ssh -T git@github.com

Discussion