SSH权限被拒绝(publickey.gssapi-with-mic)windows openssh

时间:2014-04-25 07:12:43

标签: windows ssh cygwin public-key openssh

我正在尝试使用密钥在我的服务器上进行SSH,但我遇到了以下错误。我有windows机器。此外,我尝试从Cygwin相同,它连接!!但是,无法从命令提示符处执行此操作。错误如下。

C:\Users\Rahul\.ssh>ssh username@example.com
Could not create directory '/home/Rahul/.ssh'.
The authenticity of host 'example.com ' can't be established.
RSA key fingerprint is 67:b6:1e:8a:0f:26:db:75:8e:78:af:16:ae:be:49:c2.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/Rahul/.ssh/known_hosts). 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for 'C:/Users/Rahul/.ssh/id_rsa' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: C:/Users/Rahul/.ssh/id_rsa
Enter passphrase for key 'C:/Users/Rahul/.ssh/id_rsa':
Permission denied (publickey,gssapi-with-mic).

我已经做了各种解决方案,但无法找到解决方案。请帮忙。提前谢谢

0 个答案:

没有答案