开发者社区> 问答> 正文

TortoiseGit用SSH连接阿里云Code失败

用http连接验证通过,因为可能有大文件所以中途老是挂掉导致不能上传项目,现改用ssh连接,用putty生成公钥秘钥,在个人设置那里已经添加生成公钥,TortoiseGit添加远程(私钥是putty生成时候保存的ppk文件)时候一直都报错。

git.exe fetch -v --progress "origin" git@code.aliyun.com: Permission denied (publickey). fatal: Could not read from remote repository.

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

展开
收起
2nr2pnryfxfoi 2020-06-09 14:44:06 1227 0
1 条回答
写回答
取消 提交回答
  • 原来用putty生成的秘钥不可以,直接用Git bash来生成秘钥就可以正常连接了

    2020-06-09 22:53:03
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载