[BUG] Cannot add or pull updates from git repository: No ECDSA host key is known

Follow

Comments

2 comments

  • Avatar
    Robert Tomassi (Edited )

    This is my error:

    Public key for the server at 'git.myserver.com' is already known in '/var/www/vhosts/example.com/.ssh/git_known_hosts'. ssh: connect to host git.myserver.com port 22: Connection refused fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

    Everything was working perfectly on June 5, 2020 and now I'm getting this error, I didn't change anything with the repo, it's just not working now. Is this the same error? Looks very similar. I did workaround 1 but it didn't fix the error. Please get this fixed.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Robert Tomassi,

    As I can see in your case the connection is done using the standard SSH port 22.

    According to the error message, the connection is being refused on a repository side.

    This may be caused by a firewall or SSH keys being changed.

    Please, check this.

    In case the issue will persist, submit a support request for further investigation.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request