putty - 选美似乎有干扰,根本不起作用

标签 putty public-key-encryption pageant

我用我的公钥设置了一个服务器,并将我的私钥添加到 putty 允许我正确连接到服务器。但是,当我使用选美时,它不起作用。我的研究表明,运行选美的事件日志应该类似于:

....
Pageant is running. Requesting keys.
Pageant has X SSH-2 keys
Trying Pageant key #0
....



但是,我的事件日志看起来像

...
Pageant is running. Requesting keys.
...



似乎选美没有响应腻子的关键请求。在这方面的任何帮助将不胜感激。

谢谢

最佳答案

好像你有一个像这个人一样配置的默认私钥

enter image description here

然后它可以破坏选美 key ,它根本不会尝试使用它们!
plink -v root@xx.xx.xx.xx失败

Reading private key file "D:\.ssh\id_rsa.ppk"
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Configured key file not in Pageant
Using username "root".
Offered public key
Server refused our key
Server refused our key
plink -v -i x root@xx.xx.xx.xx禁用默认键
Unable to use key file "x" (unable to open file)
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Using username "root".
Trying Pageant key #0
Authenticating with public key "key.pem" from agent

您需要查看 Trying Pageant key #0, #1 ,#2 等

关于putty - 选美似乎有干扰,根本不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5586199/

相关文章:

java - 如何在 Java 中使用 ECC 对 key 进行非对称加密?

mercurial - 如何通过 TortoisePlink 和 KeyRing 使受密码保护的 PPK 停止在 TortoiseHG 中询问密码

java - 通过 REST 发送包含加密数据的字节数组

mysql - 使用putty在vmware服务器中上传sql文件

linux - 为什么我的nohup在putty中无效?

linux - 使用 powershell 将 Linux shell 脚本文件从 Windows 插入到 Linux box

python - 使用 Python 使用公钥和 cx_Oracle 进行身份验证

iOS 您可以通过 PuTTY Pageant 在 iPhone/iPad 上查看 SVN 存储库吗?

windows - 在 Windows 10 上将选美与 VSCode 结合使用

mysql - 如何使用 Putty 将数据从一台远程服务器移动到另一台远程服务器