Error: email@example.com: Permission denied (publickey).
fatal: Could not read from remote repository.
$ ssh-keygen -t rsa -b 4096 -C "firstname.lastname@example.org"
Press enter for all prompts
Adding your SSH key to the ssh-agent
$ eval "$(ssh-agent -s)"$ open ~/.ssh/config
> The file /Users/you/.ssh/config does not exist.$ touch ~/.ssh/config
~/.ssh/config file, then modify the file, replacing
IdentityFile ~/.ssh/id_rsa$ ssh-add -K ~/.ssh/id_rsa
Adding a new SSH key to your GitHub account
$ pbcopy < ~/.ssh/id_rsa.pub
Add SSH key to GitHub.