解决:
1. 确定 gitlab 服务器的 ssh 端口
2. 如果非 22 端口,需要配置 ssh config 文件
3. 确定 git 用户在服务器上 ssh 挂载权限打开
4. 确定 gitlab 的 bin 目录,已经挂载在 /usr/bin 目录下
5. ssh -vT git@xxx.xxx.xxx.xxx 确认看见 welcome
解决:
1. 确定 gitlab 服务器的 ssh 端口
2. 如果非 22 端口,需要配置 ssh config 文件
3. 确定 git 用户在服务器上 ssh 挂载权限打开
4. 确定 gitlab 的 bin 目录,已经挂载在 /usr/bin 目录下
5. ssh -vT git@xxx.xxx.xxx.xxx 确认看见 welcome