git认证证书问题解决方案(github clone "Permission denied (publickey). fatal: Could not read from remote reposi)
来源:互联网 发布:筑志红中麻将源码 编辑:程序博客网 时间:2024/05/20 22:40
1.ssh -v git@github.com
2. ssh-agent -s
3. ssh-add ~/.ssh/id_rsa
如果有报:Could not open a connection to your authentication agent.
3.1:eval `ssh-agent -s`
在执行 3.2 :ssh-add ~/.ssh/id_rsa
4.将客户端生成的key添加到github账户
首先使用 clip < ~/.ssh/id_rsa.pub 或者文本编辑拷贝id_rsa.pub文本内容
到github右上角账户管理-Setting下面找到左侧“SSH and GPG keys”菜单,接着点击“Add SSH key”,在"title"栏输入一个自己喜欢的标题,“key”栏中粘贴刚刚复制的公钥内容,最后点击“Add key”按钮。
5.最后一步,验证key
- $ ssh -T git@github.com
- Hi JsonJu! You've successfully authenticated, but GitHub does not provide shell access.
阅读全文
0 0
- git认证证书问题解决方案(github clone "Permission denied (publickey). fatal: Could not read from remote reposi)
- git 中github clone "Permission denied (publickey). fatal: Could not read from remote repository."
- 遇到从github git clone不下来,报Permission denied (publickey). fatal: Could not read from remote repository.
- github clone "Permission denied (publickey). fatal: Could not read from remote repository."
- Permission denied (publickey) fatal:Could not read from remote repository
- Permission denied (publickey). fatal: Could not read from remote repository.
- Permission denied (publickey).fatal: Could not read from remote repository.
- Permission denied (publickey). fatal: Could not read from remote repository
- github Permission denied (publickey). fatal: Could not read from remote repository.
- Github连接不上:Permission denied (publickey).fatal: Could not read from remote repository.
- git: Permission denied(publickey). fatal:Could not read from remote repository.
- 【git】Permission denied (publickey). fatal: Could not read from remote repository.解决方案
- git push -u origin master 出错 \Permission denied (publickey). fatal: Could not read from remote repo
- 【git使用】Permission denied (publickey). fatal: Could not read from remote respository.解决办法
- git Permission denied (publickey). fatal: Could not read from remote repository. Please make sure y
- git Permission denied (publickey). fatal: Could not read from remote repository.
- 【git使用】Permission denied (publickey). fatal: Could not read from remote respository.解决办法
- Permission denied (publickey). fatal: Could not read from remote repository. Pleasemake sure you h
- 编译原理练习 递归下降
- HTML(二) 设置文本
- sqli-labs学习记录(五)
- 初识Hibernate之关联映射(一)
- Linux控制台(console)和图形化界面之间的切换
- git认证证书问题解决方案(github clone "Permission denied (publickey). fatal: Could not read from remote reposi)
- 优先级队列 + 哈夫曼树
- Fred 7.0.0 光线追迹软件_USB加密锁,全模块运行稳定版\
- 如何在双击后运行shell脚本
- poj1611 The Suspects
- Linux 星状SSH免密脚本
- 剑指offer中连续子数组的最大和+最大的子序列和的问题
- JavaScript框架对比
- 微积分的历史演变与现状