由于SSH配置文件的错误,导致的Permission denied (publickey)及其解决方法
来源:互联网 发布:we淘宝官方旗舰店 编辑:程序博客网 时间:2024/06/11 23:30
读者如要转载,请标明出处和作者名,谢谢。
地址01:http://space.itpub.net/25851087
地址02:http://www.cnblogs.com/zjrodger/
作者名:zjrodger
(1)OS:Win7 32Bit.
(2)Git:GitHub for Windows 2.0.
下载地址:https://windows.github.com/
(3)Command Shell:Git Shell.
在Win7本地平台上安装完Github for Windows 2.0后,要在本地生成密匙,向Github上上传密匙并且进行网络连通性测试。
Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of know
n hosts.
Permission denied (publickey).
在Github for Windows 2.0默认的安装配置中,
①Git默认安装情况下,ssh_config配置文件中的“IdentityFile”项的值:IdentityFile=~/.ssh/github_rsa
Host *
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Host github.com
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
IdentityFile=~/.ssh/github_rsa
方法三:
If it says "Permission denied (publickey)" you will have to put in a passphrase for your key. Do not be tempted to just press enter...this was what worked for me...it took me five hours to realize that pressing enter made OpenSSH feel that your key was too public so that is why it is denying you from going to the next step.
Permission denied
error in Windows is because you are trying to use a key other than id_rsa
.ssh
command, you can tell it which key to use by passing the -i
flag followed by the path to the key to use:Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of know
n hosts.
Permission denied (publickey).
F:\Workspaces\Github_Workspace> ssh -i ~/.ssh/id_rsa git@github.com
Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of know
n hosts.
Enter passphrase for key '/c/Users/Administrator/.ssh/id_rsa':
Hi zjrodger! You've successfully authenticated, but GitHub does not provide shel
l access.
Connection to github.com closed.
- 由于SSH配置文件的错误,导致的Permission denied (publickey)及其解决方法
- 由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法
- 由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法
- 由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法
- 由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法
- 由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法
- Git ssh key的生成,由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法
- 由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法及基础ssh知识理解
- 关于github的ssh, permission denied(publickey)
- SSH error: Permission denied (publickey)解决方法
- SSH error: Permission denied (publickey)解决方法
- ssh连接错误 Permission denied (publickey)
- git出现错误:Permission denied (publickey).解决方法
- ssh: permission denied (publickey)
- ssh: permission denied (publickey)
- permission denied (publickey)解决方法
- Permission denied (publickey) 解决方法
- 关于Git中SSH出现的Permission denied (publickey)问题
- day25
- 算法初级_2 :数组和指针
- 带图形验证码的登录模块
- 二分查找实现细节
- Android 在SD卡上建立文件夹
- 由于SSH配置文件的错误,导致的Permission denied (publickey)及其解决方法
- 将输出流OutputStream转化为输入流InputStream的方法
- spring 学习
- 创建集合,存储扑克牌,洗牌,发牌,看牌
- 欢迎使用CSDN-markdown编辑器
- Java千百问_03基本语法(007)_if else如何使用
- iOS开发系列--音频播放、录音、视频播放、拍照、视频录制
- zookeeper(三)--- 搭建zookeeper集群
- 2016-03-31