Hello I am facing issue to use git push origin master
or git pull origin master
because my remote origin is using SSH to connect, I have already setup SSH key pair configurations I also check this solution but it is not working for me. To test connection I issued following command on Ubuntu
ssh -T git@github.com
and it shows the following message
Hi zain! You've successfully authenticated, but GitHub does not provide shell access.
I am confused if my authentication is working with the SSH test command then why it is not working with push or pull procedure
Error is following
git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.