How to generate ssh key to github repo

Install openssh

yay -S openssh

Generate key

ssh-keygen -t ed25519 -C "[email protected]"

Install xclip

yay -S xclip

Copy public key

cat ~/.ssh/id_ed25519.pub | xclip -sel copy

Paste this key on github page https://github.com/settings/ssh/new and save this key.

Finally clone repo

git clone [email protected]:<org>/<repo>.git