malisaeed
New Pleskian
- Server operating system version
- Ubuntu 20.04
- Plesk version and microupdate number
- 18.0.57 #5
Hi,
Suddenly all subscription's sites Git Extension stopped listing new pushes and when i am trying to pull or link repository to site i am getting below Error as below:
I tried following steps but nothing worked.
I would therefore be very grateful for any tip or solution to solve this issue.
Regards.
Suddenly all subscription's sites Git Extension stopped listing new pushes and when i am trying to pull or link repository to site i am getting below Error as below:
Bash:
Cloning into bare repository '/var/www/vhosts/mywebsite.com/git/plesk-git-module-test.git'...
Server at 'github.com' is seen for the first time.
Adding its public key to the list of known hosts in '/var/www/vhosts/mywebsite.com/.ssh/git_known_hosts'.
write (github.com): Connection refused
write (github.com): Connection refused
write (github.com): Connection refused
write (github.com): Connection refused
Failed to gather public SSH host key for the 'github.com'.
Known hosts file '/var/www/vhosts/mywebsite.com/.ssh/git_known_hosts' doesn't exist
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I tried following steps but nothing worked.
- with command
Code:ssh -T -ai id_rsa_cda11f6f-ceca-620f-6218-637b5949ac03 git@github.com Response: ssh: connect to host github.com port 22: Connection refused
- With port 443 ,Github allows to connect
Code:ssh -T -p 443 -i id_rsa_cda11f6f-ceca-620f-6218-637b5949ac03 git@ssh.github.com Response: Hi myWebsite/ANDP! You've successfully authenticated, but GitHub does not provide shell access.
- i have tried removing known_host file as well.
- inspect the firewall and found port 22 is open , (apparently i am performing these steps connected with server via ssh that means SSH port is open)
- Tried with same repository on another plesk server and that worked perfectly
I would therefore be very grateful for any tip or solution to solve this issue.
Regards.