My professor wants us to use his github repository for his course. I created the ssh key, I added the private key to ssh-agent and given the public key to the professor. After I created the project folder and run the following steps:
git init
git add *
git commit -m "Initial commit"
git remote add origin git@github.com:prof_username/repo_name.git
git push -u origin master
I get a permission denied (error 403). I tried both ssh and https url. What's the problem?