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

发布于 2024-10-31 02:00:15 字数 349 浏览 0 评论 0原文

我使用公钥设置了服务器,并将私钥添加到 putty 中,这样我就可以正确连接到服务器。然而,当我使用选美时,它不起作用。我的研究表明,选美比赛运行的事件日志应该类似于:

...
选美比赛正在进行中。请求钥匙。
选美有 X 个 SSH-2 密钥
尝试选美密钥#0
....

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

...
选美比赛正在进行中。请求钥匙。
...

选美比赛似乎没有回应腻子的关键要求。任何对此的帮助将不胜感激。

谢谢

I have a server setup with my public key and adding my private key to putty allows me to connect to the server properly. When I use pageant however, it doesn't work. My research showed that the event log with pageant running should look something like:

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

however, my event log looks like

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

It seems like pageant isn't responding to putty's key request. Any help in this would be appreciated.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

合约呢 2024-11-07 02:00:15

似乎如果您像这个人那样配置了默认私钥

在此处输入图像描述

那么它可以破坏选美密钥,它根本不尝试使用它们!

plink -v [电子邮件受保护] 失败

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

< code>plink -v -ix [电子邮件受保护] 其中禁用默认键

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

您需要查看尝试选美键 #0、#1、#2 等

Seems like if you have a default private key configured like this guy did

enter image description here

Then it can break the pageant keys, it simply doesn't try to use them!

plink -v [email protected] fails

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 [email protected] which disables the default key

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

You need to see Trying Pageant key #0, #1 ,#2 etc

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文