Unable to pull updates from Git repository: Permission denied: Could not read from remote repository

Follow

Comments

9 comments

  • Avatar
    Zahid Mahmood

    I am experiencing an error when trying to set up a second (or multiple) Git repos on my server. I get the error:

    Public key for the server at 'github.com' is already known in...

    Could these issues be related?

  • Avatar
    Jan Černín

    Hello,

    we are experiencing this issue, and the temporary resolution helped, thank you.

    Is there a possiblity to watch over the bug resolution case? I would like to stay updated on the issue, and know when (and if) this get fixed. Thank you.

  • Avatar
    Alexandr Tumanov

    @Jan, you can subscribe to the article to stay tuned. Additional information can be found here: https://support.plesk.com/hc/en-us/articles/115002200894-How-to-subscribe-to-Plesk-articles 

  • Avatar
    Artyom Baranov

    @Zahid Mahmood,

    Hello! Could you please provide us with exact error? What is under "Public key for the server at 'github.com' is already known in" ?

  • Avatar
    Romke van der Veen

    I did a copy of the .shh directory.

    But it's using a .ssh/git_known_hosts file from another domain.

    When i delete the git_known_hosts file there it will create a new one(also there)

  • Avatar
    Helen Pushkareva

    Please, fix this bug! 

  • Avatar
    Ivan Postnikov

    Hello @Helen,

    The issue from the provided screenshot seems to be different from the one in this article.
    Additionally, I see no articles with a similar issue.

    To find the solution I would suggest to submit a support request.

  • Avatar
    Helen Pushkareva

    If anyone from reg.ru is trying to work the same problem as me, please, read support answer carefully, it helped me:

     

    Здравствуйте! Насколько мы видим, вы указали в качестве удаленного Git репозитория команду git: git clone git@bitbucket.org:username/***.git Адрес репозитория имеет следующий вид: git@bitbucket.org:username/***.git Однако, указанный вами адрес репозитория на данный момент не существует. Для решения проблемы вам необходимо указать адрес существующего репозитория, после чего скопировать публичный ключ в ваш репозиторий bitbucket. Подробнее в официальной инструкции - https://docs.plesk.com/ru-RU/onyx/administrator-guide/website-management/git-support/using-remote-git-hosting.75848/ Как добавить публичные ключи на BitBucket - https://www.youtube.com/watch?v=-ElU6WhNLn4 Интерактивный курс по использованию Git - https://githowto.com/ru

    Вы уже оценили ответ

  • Avatar
    Ivan Postnikov

    @Helen, thanks for sharing.

Please sign in to leave a comment.

Have more questions? Submit a request