ssh-keygen -t rsa -b 4096 -C "<email>"
run sudo apt install openssh-client if not working
sudo apt install openssh-client
eval "$(ssh-agent -s)"
ssh-add <private_key>
cat ~/.ssh/id_rsa.pub
git config --global user.name "Your Name" git config --global user.email "youremail@yourdomain.com"
Last updated 7 months ago