Starting on October 19, 2021, we will enable single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
To be prepared for this change and to avoid the need to register during your next ticket submission after the change, we encourage you to create an account here before October 19 using the same email address as your current Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account. You will continue to use ZenDesk authentication until we switch over to single-sign-on on October 19th.

Unable to add remote git repository with ssh key using Git extension: Could not read from remote repository

Follow

Comments

7 comments

  • Avatar
    George Pittas

    It does not work could you please fix it?

    3
    Comment actions Permalink
  • Avatar
    Tobias Schnittger

    I've been waiting for the fix for several weeks now, a bit annoying. The described workaround did not work for me. What is the situation with the fix?

    2
    Comment actions Permalink
  • Avatar
    Cristiano Masi

    I tried the workaround but I am having the same problem:,

    • Cloning into bare repository '/var/www/vhosts/<site>/git/<repository>.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/<site>/.ssh/git_known_hosts'.
    • getaddrinfo github.com: No address associated with hostname
    • getaddrinfo github.com: No address associated with hostname
    • getaddrinfo github.com: No address associated with hostname
    • getaddrinfo github.com: No address associated with hostname
    • getaddrinfo github.com: No address associated with hostname
    • Failed to gather public SSH host key for the 'github.com'.
    • Known hosts file '/var/www/vhosts/<site>/.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.
    0
    Comment actions Permalink
  • Avatar
    Arvid de Jong

    I have the same problem, but only with subscriotions who's having two FTP accounts

    0
    Comment actions Permalink
  • Avatar
    Mail

    I have the same problem.

    0
    Comment actions Permalink
  • Avatar
    Mail

    When will there be an update here?

    0
    Comment actions Permalink
  • Avatar
    Adrian Finschow (Edited )

    Since no one from Plesk want's to give a temporary answer, I will help.

    I had the same Problem and fixed it that way:
    1. Login with system user of the domain on SSH
    2. Then go into .ssh with cd .ssh
    3. Check with ls if the file git_known_hosts exist
    4. If the file doesn't exist just use touch git_known_hosts and check with ls again if the files exist
    5. If the file now exist and you added your generated SSH-Key to GitHub it should work now!

    At least that was my way to fix the Problem :)

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request