I came across a weird issue while cloning a git repository using ssh. I have the ssh setup:
ssh -T [email protected]
Hi yusufali2205! You've successfully authenticated, but GitHub does not provide shell access.
I am using the right clone url and have access to the repo I want to clone. But getting error:
➤ git clone [email protected]:<some-org>/<repo>.git
Cloning into 'project'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
There is no other message to debug what is wrong with my ssh setup or git configuration.