Git server uses SSH with non-standard port (not 22);
Pulling updates from remote git repository in Domains > example.com > Git > Pull updates completes with error in Plesk UI:
PLESK_ERROR: Public key for the server at 'git.example.com:32301' is already known in '/var/www/vhosts/example.com/.ssh/git_known_hosts_with_port_32301'.
No ECDSA host key is known for [git.example.com]:32301 and you have requested strict checking. Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Server key was modified on the git server.
Git extension bug with ID #EXTGIT-62, which is planned to be fixed in future updates.
Connect to the server via SSH/RDP;
known_hostsfile for the git server's port:
# > /var/www/vhosts/example.com/.ssh/git_known_hosts_with_port_32301
Warning: Modified server key might mean that man-in-the-middle attack is performed on the client.
Navigate to Domains > example.com > Git;
Try pulling updates again.
Note: In case
Failed to gather public SSH host key error appears, a custom fix from the following Knowledge Base article must be applied on the server: Unable to add remote git repository with ssh key via Plesk git extension: Could not read from remote repository.