$ ssh-keygen -t rsa -b 4096 -C "lx58@cornell.edu"
$ cat /home/user/.ssh/id_rsa_github.pub
# Add SSH token for Github
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa_github

 

 

Related articles

https://linuxhint.com/ssh_key_setup_github/
https://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-agent
https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/error-permission-denied-publickey