老师,有公钥,项目clone不下来

来源:12-3 发布流程及发布脚本的开发

TheBayMax

2017-10-12

公钥有配,但不知道为什么只有新配的,之前的旧公钥没了,从远程仓库那边clone不下来,见下

[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]# git clone https://gitee.com/wymaipai/51maipai.git
Cloning into '51maipai'...
Username for 'https://gitee.com': Jerry
Password for 'https://Jerry@gitee.com':
fatal: Authentication failed for 'https://gitee.com/wymaipai/51maipai.git/'
[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]# git-repository]# git clone https://gitee.com/wymaipai/51maipai.git
-bash: git-repository]#: command not found
[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]#
[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]#
[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]# ls
[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]# git clone git@gitee.com:wymaipai/51maipai.git
Cloning into '51maipai'...
The authenticity of host 'gitee.com (120.55.226.24)' can't be established.
RSA key fingerprint is e3:ee:82:78:fb:c0:ca:24:65:69:ba:bc:47:24:6f:d4.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'gitee.com,120.55.226.24' (RSA) to the list of known hosts.
Connection closed by 120.55.226.24
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]# ls
[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]# ls
[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]# ^C
[root@iZuf6c3lh54r8qj8l3o6zlZ git-repository]#


写回答

1回答

Rosen

2017-10-12

权限不对 重新配置下公钥

0
1
TheBayMax
非常感谢!
2017-10-12
共1条回复

真实数据对接 从0开发前后端分离的企业级上线项目

【毕设项目精品】前端实战,对接真实服务端数据,开发完整项目

4269 学习 · 4120 问题

查看课程