• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue write (github.com): Connection refused: port 22

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:

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.
  1. 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
  2. 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.
  3. i have tried removing known_host file as well.
  4. 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)
  5. Tried with same repository on another plesk server and that worked perfectly
No matter what I've tried, so far unfortunately without success.

I would therefore be very grateful for any tip or solution to solve this issue.

Regards.
 
Back
Top