I am trying to clone my remote github repo to my EC2 Ubuntu server. When I run sudo git clone git@github.com:user/test.git
I have the message
Cloning into 'test'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What do I need to setup to get my github repo in my server? Are there keys I need to add to my Github account? My server?