I am using this method mentioned here to clone my Github repo to my httpdocs folder: Is it possible to connect to private Github repositories using Plesk Git extension?, but I am unable to connect. I always get the following error:
My firewall is accepting connections on my SSH port and I have added the public key on the SSH section on my Github account.
HTTPS is not an option because I am cloning a shared private repo.
I am using Centos 7 with Plesk Obsidian. Everything up to date.
I tried to use the same procedure on my Plesk Onyx server and it worked fine. Same firewall settings.
Any suggestions?
Thanks.
- Public key for the server at 'github.com' is already known in '/var/www/vhosts/new.example.com/.ssh/git_known_hosts'.
- Permission denied (publickey).
- fatal: Could not read from remote repository.
- Please make sure you have the correct access rights
- and the repository exists.
My firewall is accepting connections on my SSH port and I have added the public key on the SSH section on my Github account.
HTTPS is not an option because I am cloning a shared private repo.
I am using Centos 7 with Plesk Obsidian. Everything up to date.
I tried to use the same procedure on my Plesk Onyx server and it worked fine. Same firewall settings.
Any suggestions?
Thanks.