I have set up my ssh key using this tutorial
And tested it with this this command
ssh -T firstname.lastname@example.org
The result was my user name.
And I pushed a existing project as a git repo. After branching out,doing some update then merged with the dev branch. While I was pushing the dev branch to remote. The
Permission denied (publickey). fatal: The remote end hung up unexpectedly
My .ssh folder has sufficient permission.
How to solve the fatal error?