git: SSH keys, pull private repos

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

ssh-keygen -t rsa -b 4096 -C "awwthentic@gmail.com"

because I named the ssh key a non conventional name, I am required to do the following

eval "$(ssh-agent -s)"

https://stackoverflow.com/questions/25927914/git-error-please-make-sure-you-have-the-correct-access-rights-and-the-reposito

ssh-add /root/.ssh/id_new
cat ~/.ssh/id_wow.pub

https://github.com/settings/keys

Leave a Reply

Your email address will not be published.