【发布时间】:2019-09-30 20:50:37
【问题描述】:
我想用ssh://在gitlab中导入一个项目
我在同一个网络上:
- 安装在 raspebrry 上的 gitlab
- synology 上的 git 服务器
我的 git 服务器只能通过 ssh://*****@mysynology:/the/repository/path/myproject.git 访问
我尝试了没有密码的 ssh 密钥身份验证,但我不知道 gitlab 用于执行 git clone 的用户...
我在 gitlab 中有这条消息:
Error importing repository ssh://*****@mysynology/the/repository/path/myproject.git into root/myproject - Cloning into bare repository '[REPOS PATH]/root/myproject.git'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
【问题讨论】: