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



1 comment

  • Avatar
    Unknown User


    I just had this problem with my Plesk servers when I was trying to sincronize my repository using the Plesk Git Module. As I use Bitbucket instead of Github and they've changed they keys on 20/06/2023 - https://bitbucket.org/blog/ssh-host-key-changes - i got this error message. I fixed it just by going to my .ssh folder and running:

    cd /var/www/vhosts/example.com/.ssh/
    mv git_known_hosts git_known_hosts.old

    After that, just click on the button "Pull now" and it's gonna work =)

    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request