Troubleshooting Git Issues

Permission Denied

user@server# git clone git@github.com:daniel-arapi/myRepo.git
Cloning into 'myRepo'...
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.
Verify Connectivity to GitHub
root@server# ssh -T git@github.com
Hi daniel-arapi! You've successfully authenticated...
Verify SSH Agent is Running
$ eval "$(ssh-agent -s)"
> Agent pid 59566
Add SSH Keys to SSH Agent
ssh-add ~/.ssh/your-ssh-keys
About the author

Arapi Tech

Networking + DevOps + Programming

Arapi Tech Blog

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to Arapi Tech Blog.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.