• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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