I’m attempting to add a push repository mirror with our cPanel webhost, and have been unable to get past an error. Webhost has SSH enabled on a custom port and a new repository created. Any insights would be appreciated!
What I’ve done
Adding the remote repository succeeds
SSH access confirmed on webhost
SSH public key authorized on webhost
Updating the repo mirror will timeout and fail with an error
Error pushing to remote repository, using password auth:
2:Fetching remote remote_mirror_ID failed: Could not resolve hostname server.domain.com:222: Name or service not known fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Error pushing to remote repository, using SSH auth (pub key authorized at webhost):
13:close stream to gitaly-ruby:rpc error code = Unknown desc = Gitlab::Git:RepositoryMirroring::RemoteError: Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.