报错如下:
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,添加非标准端口

本文详细介绍如何解决SSH连接GitLab时遇到的'Connection refused'错误,包括客户端密钥生成和服务器sshd_config配置修改。
1827

被折叠的 条评论
为什么被折叠?



