报错如下:
Ssh: connect to host gitlab.xiaozhichina.com port 10022:
Connection refused Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
解决方法:
1、客户端生成密钥 ssh-keygen -t rsa -C "your_email@example.com"
2、GitLab服务器端修改sshd_config,添加非标准端口