• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Github integration errors. Unable to pull updates from the remote repository.

I am using this method mentioned here: 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:


Public key for the server at 'github.com' is already known in '/var/www/vhosts/new.domain.com/.ssh/git_known_hosts'.
ssh: connect to host github.com port 49153: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.


Even if I try changing the SSH port to the default 22, I keep getting similar errors.

Any suggestions what the issue could be?

Using Centos 7 with Plesk Obsidian.

Thanks.
 
So, with SSH port 22 and the same settings on a Plesk Onyx server this is working no problem. It might be an issue with Plesk Obsidian and the Git extension.
 
Anyway, issue is solved by deleting id_rsa, id_rsa.pub and known_hosts file from the .ssh folder. You will have to re-copy the ssh key and clone the repo again.
 
Back
Top