2012-01-11 76 views
-1

我能够使用公钥/私钥与Putty连接,而不会提示输入密码(或密码)。我在后台运行了选美游戏。无法使用公钥/私钥链接plink

但是,试图与plink连接将无法工作(形成相同的Windows机器):(...它告诉我,该密钥被服务器拒绝:(见下面的输出:

任何想法,为什么?

 
C:\Windows\System32>plink -v -agent -i C:\Users\ed\.ssh\id_rsa.pkk [email protected] 
Looking up host "bla.nl" 
Connecting to 82.94.165.254 port 22 
Server version: SSH-2.0-OpenSSH_4.3 
Using SSH protocol version 2 
We claim version: SSH-2.0-PuTTY_Release_0.62 
Doing Diffie-Hellman group exchange 
Doing Diffie-Hellman key exchange with hash SHA-1 
Host key fingerprint is: 
ssh-rsa 2048 83:15:11:84:8f:d8:f9:3a:16:b0:e4:8d:ef:4c:18:c4 
Initialised AES-256 SDCTR client->server encryption 
Initialised HMAC-SHA1 client->server MAC algorithm 
Initialised AES-256 SDCTR server->client encryption 
Initialised HMAC-SHA1 server->client MAC algorithm 
Reading private key file "C:\Users\ed\.ssh\id_rsa.pkk" 
Unable to use this key file (unable to open file) 
Unable to use key file "C:\Users\ed\.ssh\id_rsa.pkk" (unable to open file) 
Pageant is running. Requesting keys. 
Pageant has 1 SSH-2 keys 
Using username "ed". 
Trying Pageant key #0 
Server refused our key 
Using SSPI from SECUR32.DLL 
Attempting GSSAPI authentication 
GSSAPI authentication request refused 
[email protected]'s password: 

回答

4

第一个错误消息说,它没有找到你想要传递的密钥文件。也许这个问题是该名.ppk结束,不.pkk?