Watch Star

开源中国 / Gitee FeedbackRuby

待办的
#IJ2YB 已添加ssh公钥,但是无法clone自己的代码仓库

llcat  创建于

现象描述

发现无法clone自己的代码仓库后,我重新生成了ssh公钥并上传, 配置后还是无法clone,使用ssh -T git@gitee.com可以收到welcome信息, 对比从github上可以clone而言,看上去不是个人电脑的原因。

重现步骤

报错信息

YPL@YPLC MINGW64 ~/Desktop/studynotes/wx_web_study
$ ssh -T git@gitee.com
The authenticity of host 'gitee.com (116.211.167.14)' can't be established.
ECDSA key fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'gitee.com,116.211.167.14' (ECDSA) to the list of known hosts.
Welcome to Gitee.com, llcat!

YPL@YPLC MINGW64 ~/Desktop/studynotes/wx_web_study
$ ssh -T git@github.com
The authenticity of host 'github.com (52.74.223.119)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,52.74.223.119' (RSA) to the list of known hosts.
Hi llcat! You've successfully authenticated, but GitHub does not provide shell access.

YPL@YPLC MINGW64 ~/Desktop/studynotes/wx_web_study
$ git clone git@gitee.com:llcatty/WX_TP.git
Cloning into 'WX_TP'...
Command 'git upload-pack 'llcatty/WX_TP.git'' not Allowed !
exec request failed on channel 0
fatal: Could not read from remote repository.

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

YPL@YPLC MINGW64 ~/Desktop/studynotes/wx_web_study
$ git clone git@github.com:llcat/WX_TP.git
Cloning into 'WX_TP'...
remote: Counting objects: 66, done.
remote: Compressing objects: 100% (44/44), done.
Reremote: Total 66 (delta 7), reused 63 (delta 7), pack-reused 0
Receiving objects: 100% (66/66), 45.87 KiB | 32.00 KiB/s, done.
Resolving deltas: 100% (7/7), done.
共1人参与
展开详细操作日志 收起操作日志
llcat 更新了 任务 2018-04-15 18:54
llcat 创建了 任务 2018-04-15 18:50

评论 (0)

登录 后才可以发表评论

负责人
标签
未设置
里程碑
关联分支
开始时间
未设置
结束时间
未设置
置顶选项
优先级
8_float_left_people 8_float_left_close