github Permission denied (publickey). fatal: Could not read from remote repository.

github Permission denied (publickey).
fatal: Could not read from remote repository.

------------------------------------

 

报错:

Cloning into 'cf-ui'...
Permission denied (publickey).
fatal: Could not read from remote repository.

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

解决方法:

1.在git.bash.窗口输入

2.ssh-keygen -t rsa -C "邮箱地址"

3.然后一直回车就行

4.C:\Users\Administrator目录下生成一个.ssh目录,

5.Id-rsa是你的私钥,用笔记本方式打开id_rsa.pub把里面的公钥复制到https://github.com/settings/keys

完成公钥配置;

posted @   徐锅  阅读(1946)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南

点击右上角即可分享
微信分享提示