git 时 出现 Permission denied (publickey).
2024-08-23 14:33:47
https://blog.csdn.net/awp0011/article/details/73368481
第一次使用github.com
在本地 执行 git clone git@github.com:xxxxx/xxxxx.git
异常信息:
Permission denied (publickey).
fatal: Could not read from remote repository.
原因是SSH 登录时没有加密所需的秘钥
所以 我们 需要生成密码
ssh-keygen -t rsa
1
在~/.ssh/ 有三个文件
id_rsa
id_rsa.pub
known_hosts
将 id_rsa.pub 内容复制到 github的 https://github.com/settings/keys
add SSH key
然后你再 git clone
————————————————
最新文章
- JavaScript基本数据类型和引用数据类型
- 用php实现一个敏感词过滤功能
- Kafka与Logstash的数据采集对接 —— 看图说话,从运行机制到部署
- Mysql的操作说明
- 创建JOB
- Python学习笔记(二)基本语法
- poj 2195 KM算法
- IntelliSense: 应输入声明的解决方案
- android开发系列之消息机制
- MyBatis学习总结_10_批量操作
- Import Items – Validation Multiple Languages Description
- html的input输入框提示信息 点击隐藏
- 提升html5的性能体验系列之一避免切页白屏
- PHP1.0版本上传OSS报错,仿照2.0版本传入的居然是句柄
- Windows-universal-samples-master示例 XamlCommanding
- feed 流数据请求时机的两个思路
- Apache Hadoop 2.9.2 完全分布式部署
- sitecore 获取item的URL
- Caused by: java.io.FileNotFoundException: velocity.log (No such file or directory)
- atan和unwrap解卷绕
热门文章
- spark复习笔记(7):sparkstreaming
- vue实现PC端调用摄像头拍照人脸录入、移动端调用手机前置摄像头人脸录入、及图片旋转矫正、压缩上传base64格式/文件格式
- mysql导出函数或者存储过程 设置显示方式
- Linux系统启动过程浅析
- VS2012 改C# 模版
- zabbix 4.2 发送警告邮件Python脚本
- mysql 备份和还原
- bzoj2325 [ZJOI2011]道馆之战 树链剖分+DP+类线段树最大字段和
- Python---基础---str
- Vue----项目增加百度统计