如何将 RSA 公钥(文本形式)转换为 PPK 私钥文件?

发布于 2024-12-17 01:35:11 字数 476 浏览 4 评论 0原文

我已通过“电子邮件”收到了“公共”AES 256 RSA 密钥(例如):

“ssh-rsa AAASDHFhdfsdSDHF2SHdf932hSDF29SDFHSDF2SDFHSDF23SHHDFewhw92sdfhSDFS29843SdhsdfZSDH= 一些@bunk”

现在,我被要求将其用于 WinSCP SFTP 会话连接。

我在WinSCP连接信息中看到需要 指向 *.PPK 的“私钥文件”。

如何将文本形式的公钥转换为 PPK 私钥?

我正在使用的服务器 (Windows Server 2003) 有一份 Putty 副本。我已经尝试过 各种选项,但没有看到任何可以转换我的公钥的明显区域 进入我需要的私人 PPK 密钥。

请指教...

谢谢。

I have been 'emailed' a "PUBLIC" AES 256 RSA Key (for example):

"ssh-rsa
AAASDHFhdfsdSDHF2SHdf932hSDF29SDFHSDF2SDFHSDF23SHDFewhw92sdfhSDFS29843SdhsdfZSDH=
some@bunk"

Now, I am being asked to use it for a WinSCP SFTP session connection.

I see in the WinSCP connection information that there is the need for
a "Private key file" that points to *.PPK.

How do I convert the public key I have in text form to a private PPK key?

The server I am working on (Windows Server 2003) has a copy of Putty. I have tried
the various options but don't see any obvious area where my public key can be converted
into the private PPK key I need.

Please advise...

Thanks.

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

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

发布评论

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

评论(1

千と千尋 2024-12-24 01:35:11

您需要获取私钥,而不是公钥。

它应该以相反的方式工作。您生成私钥+公钥对并向他们提供公钥。

You need to get private key, not public key.

And it should work the opposite way. You generate private+public key pair and provide them with the public key.

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