美文网首页
git clone无法使用ssh

git clone无法使用ssh

作者: __XY__ | 来源:发表于2018-03-15 17:35 被阅读0次

git clone git@gitlab:RD/coucou_web_backend.git
结果为
Cloning into 'coucou_web_backend'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

原因分析
查看gitlab的服务部署配置
发现服务器的10080端口对应着docker里面的22端口。
按理说 服务器的10080端口应该是开着的,但是现在是关着的。说明服务器配置那里给挡住了。

最后找到了aws的设置。把10080端口给开放开。
通过 ssh git@gitlab 发现成功了
搞定~

相关文章

  • git clone无法使用ssh

    git clone git@gitlab:RD/coucou_web_backend.git结果为Cloning ...

  • permission denied (publickey)问题的

    使用ssh key这种方式进行clone ,pull github上面的项目,使用 git clone或者git ...

  • git 使用

    使用步骤 git clone 'ssh/https url'git add .git commit -m 'com...

  • Git 简单流程

    Git Flow 复制 Clone 使用 SSH/HTTPS SSH HTTPS 分支 Branch 查看分支 新...

  • git多电脑使用

    经常出现没有权限,Git仓库无法clone的问题 采用https路径,需要配置git账号比较麻烦直接使用ssh但是...

  • 向github添加ssh key

    原文地址 使用ssh key这种方式进行clone ,pull github上面的项目,使用 git clone或...

  • ubuntu系统github的使用

    1、git clone ssh地址或htpl地址 #克隆远程仓库的内容,推荐使用ssh地址2、git add ./...

  • 为github帐号添加SSH keys

    当使用git clone命令从github上同步代码库时,如果使用SSH链接,而你的SSH key没有添加到git...

  • Git常用命令

    git clonegit clone git clone ssh://git@xxx.xxx.git克隆远程到本地...

  • Git 使用技巧

    直接提交当前分支 coding 没有配置ssh,使用账号密码clone git clone http://your...

网友评论

      本文标题:git clone无法使用ssh

      本文链接:https://www.haomeiwen.com/subject/yowhqftx.html