• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Issue Git update / public key already known

Erwan

Regular Pleskian
Hi all,

Since two days, we can not update with Git some website in Plesk (Obsedian 18.0.29).
We have this message:

Public key for the server at 'www.mygilabserver.com' is already known in '/var/www/vhosts/mydomain.com/.ssh/git_known_hosts'. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.


An idea?
We don't have made any change.
 
Thanks Igor.

I try...

6) Remove entries from the git_known_hosts_with_port_32301 file that correspond to the host example.com:
# ssh-keygen -f ~/.ssh/git_known_hosts_with_port_32301 -R example.com


I've only a "git_known_hosts" file.
I'm not sur but i try that:
$ ssh-keygen -f ~/.ssh/git_known_hosts -R mydomain.com
Host mydomain.com not found in /var/www/vhosts/mydomain.com/.ssh/git_known_hosts

Same result with:
$ ssh-keygen -f ~/.ssh/git_known_hosts -p 32301 -R mydomain.com
OR
$ ssh-keygen -f ~/.ssh/git_known_hosts -P 32301 -R mydomain.com

In the file git_known_hosts, i have:
|1|SLoJq8YB5R/MNJi0ZPDy+xxxxxxxxxxxxxxxxxx ssh-rsa AAAAB3NzaC1ycxxxxxxxxx
|1|rohf7vLqmRARxcWD4gaxxxxxxxxxxxxxxxxxxxx ssh-rsa AAAAB3NzaC1ycxxxxxxxxx

What's my problem?
 
Back
Top