Failure to clone private repository

My code is hosted in a private repository. I have created a deploy key for the codebase. Uploaded the private key onto the robot server using scp. Added the public key in the deploy key section of my Github repo. The value of my git_deploy_key in the roboch.json also reflects the same.

Yet when I submit the code I get the following in my error_report.txt

Submission failed with the following error:
Failed to clone git repository:
Cloning into '/var/lib/condor/execute/dir_10492/run_submission-yv633172/src/usercode'...
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.

What am I doing wrong here?

When you log in to the submission system and run check, what output do you get?

All checks passed. I do have a passphrase to the key though. Do you think that might be causing the issue?

Ah, yes. You need to use a key without passphrase.

1 Like