Error: Permission denied (publickey).

fatal: Could not read from remote repository.

Generating a new SSH key

In terminal, $ ssh-keygen -t rsa -b 4096 -C ""

Press enter for all prompts

Adding your SSH key to the ssh-agent

Open your ~/.ssh/config file, then modify the file, replacing ~/.ssh/id_rsa

Adding a new SSH key to your GitHub account

Add SSH key to GitHub.

I am trying to be friends with programming.