Problem Description
Plesk indicates one or all of the following errors when attempting to connect to your GitHub repo:
- remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/{username}/repo.git/'
- ERROR: Repository not found. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Resolution
- The most obvious first solution is to ensure you actually do have the right username and password entered to connect to the private repository
- Next, check to ensure you've configured Plesk to use SSH connectivity mode -- this is required for private repositories
- Finally, ensure that you do not have ".git" at the end of the repo name like the above error shows. Remove the ".git" so the ending looks like /repo/