ssh - ssh克隆不适用于Windows bash(客户端)的gitlab服务器
问题描述
我在 gitlab 中创建了一个新的存储库,其中创建了一个自述文件 init(通过 gitlab 门户网站),并且我已将用户添加到 git 存储库以进行访问(推送/合并)。现在 gitlab 服务器是 ubuntu 机器,我正在尝试从不同的 pc(win10) git bash 终端克隆 repo。我已经配置了用户设置。
添加了 git 用户名、电子邮件 id、git 远程 url 在 win 10 客户端中生成了 ssh 密钥并在 gitlab 帐户设置中更新了相同的内容(Web 界面 - 添加 ssh 密钥)
$ git clone ravi@1xx.1xx.2xx.29:8181/ravi/test-project.git
Cloning into 'test-project'...
ravi@1xx.1xx.2xx.29's password:
fatal: '8181/ravi/test-project.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
你能帮我解决这个问题吗
解决方案
推荐阅读
- php - 引导切换没有响应
- jdbc - Kafka Connect JDBC Sink 连接器:如何删除没有 NULL 值的记录?
- python - 无法在 Ejabberd 19.09.1 中启动外部身份验证程序
- java - 在背景上设置对象/图像的位置
- azure-devops - 如果我授予某人对 Azure DevOps 存储库的只读访问权限,我可以阻止他们复制和粘贴源吗
- javascript - Nodejs 异步/等待 mysql 查询
- forms - Symfony 4 形式:三个动态选择框
- java - 将值分配给二维数组的元素时出现“']'预期”错误
- python - 具有相同参数的函数的不同输出
- r - Left_join 使用来自第二个数据帧的数据值填充 NA 条目