SSH Push Mirroring Troubleshooting
Problem to solve
- What product or feature(s) affected?
Gitlab-CE, chances are the same goes for EE Push Mirroring over SSH
- What docs or doc section affected? Include links or paths.
Lack of troubleshooting for Mirroring
Further details
A couple of points that tripped me up / were not mentioned the mirroring guide:
cannot add to known_hosts error -
You cannot add a DNS name in the Git repository URL as gitlab will try to add both IP and DNS to the temp known_hosts and throw up an error. Use IP address only.
permission denied error -
Use the Authentication method SSH Key, once you have clicked Mirror Repository you can add the key to your clipboard then headover to the remote git repo and add the key to authorized_keys.
cannot push objects (sic) error -
the objects in the remote repo need to be writable.
Proposal
Add the above troubleshooting tips to the mirroring docs
Who can address the issue
Anyone who can edit the docs page.