• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved GIT - Issue with known_hosts File / Ports?

Powie

Regular Pleskian
We have our own Gitlab, offering SSH at port 2224. We have absolutely no problem in using Gitlab with ceratin tools.
The Plesk Extension isn't possible to connect to gitlab. I think it's a problem by the extension and how known_host are stored.
As the SSH user of the domain I can pull and push to my gitlab repo without problems. If I try to add the repo in Plesk it ends with:
  • Cloning into bare repository '/var/www/vhosts/xyz123.de/git/tourtracker-web.git'...
  • Server at 'gitlab.xxxxxxxxxx.net:2224' is seen for the first time.
  • Adding its public key to the list of known hosts in '/var/www/vhosts/xyz123.de/.ssh/git_known_hosts_with_port_2224'.
  • Failed to gather public SSH host key for the 'gitlab.be-webspace.net:2224'.
  • Known hosts file '/var/www/vhosts/xyz123.de/.ssh/git_known_hosts_with_port_2224' doesn't exist
  • fatal: Could not read from remote repository.
  • Please make sure you have the correct access rights
  • and the repository exists.
Keys are checked and works on SSH directly......
 
Back
Top