ssh生成时注意事项

生成ssh

bash 复制代码
ssh-keygen -t rsa -C "your_email@template.com.cn"

重新生成ssh后,拉代码时遇见

bash 复制代码
remote:
remote: ========================================================================
remote:
remote: The project you were looking for could not be found or you don't have permission to view it.
remote:
remote: ========================================================================
remote:
fatal: Could not read from remote repository.

and the repository exists.

原因:

重新生成ssh时,没有删除旧的id_rsa、id_rsa.pub

解决:

删除这两个文件之后,重新生成

相关推荐
va学弟1 小时前
Agent入门开发
java·运维·服务器·ai
014-code1 小时前
Chronicle Queue:把 Disruptor 的数据落盘
java·服务器
keyipatience2 小时前
7.Linux1权限-开发工具
linux
念何架构之路2 小时前
图解常见网络I/O复用模型
服务器·网络·php
j_xxx404_3 小时前
万字长文爆肝:彻底弄懂Linux文件系统(Ext2),从Inode、Block到Dentry核心机制全解析
linux·运维·服务器
2401_841495643 小时前
Linux C++ TCP 服务端经典的监听骨架
linux·网络·c++·网络编程·ip·tcp·服务端
Zn_lunar3 小时前
autodl tizi+codex cli
运维·服务器·网络
@insist1233 小时前
网络工程师-实战配置篇(一):深入 BGP 与 VRRP,构建高可靠网络
服务器·网络·php·网络工程师·软件水平考试
楼田莉子3 小时前
同步/异步日志系统:日志器管理器模块\全局接口\性能测试
linux·服务器·开发语言·c++·后端·设计模式
奇妙之二进制3 小时前
zmq源码分析之io_thread_t
linux·服务器