老师,有公钥,项目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回答
-
权限不对 重新配置下公钥
012017-10-12
相似问题
git clone公钥问题
回答 1
git 仓库配置
回答 1