NetBeans 始终显示警告:“无法建立主机 x 的真实性”上传、下载或同步后

发布于 2024-09-11 11:12:06 字数 335 浏览 13 评论 0原文

我目前正在使用带有 PHP 插件的 NetBeans 6.9 和来自远程服务器项目的 PHP 应用程序。但是,每次我用它上传或下载时,都会收到一条警告提示,内容如下:

无法确定主机 x 的真实性。 RSA 密钥指纹是 y。您确定要继续连接吗?

我是否可以存储远程服务器的 RSA 密钥指纹,或者在采取操作之前不让 NetBeans 确认密钥?

我正在连接到我自己的服务器,所以是的,我始终信任它。弹出窗口很烦人,我希望能够有一种简单的方法,可以根据存储的密钥检查密钥并告诉我密钥是否更改,或者只是连接到我告诉它的服务器,而不管 RSA 密钥指纹如何。

I'm currently using NetBeans 6.9 with the PHP plugin and a PHP Application from Remote Server project. However, every time I upload or download with it, I'm prompted with a warning that reads:

The authenticity of host x can't be established. RSA key fingerprint is y. Are you sure you want to continue connecting?

Can I store the RSA key fingerprint of the remote server or not have NetBeans confirm the key before taking action?

I'm connecting to my own server, so yes, I always trust it. Getting that popup is annoying and I would like to be able to simply have a way of either checking the key against a stored key and telling me if the key changes or just connecting to the server I tell it to, regardless of the RSA key fingerprint.

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

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

发布评论

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

评论(1

永言不败 2024-09-18 11:12:07

您可以创建一个空文件并将其设置为“管理远程连接”窗口中的已知主机文件。下次您告诉 NetBeans 无论如何都要进行连接时,它会将指纹保存在该文件中并不再打扰您。我认为可以肯定的是,如果密钥发生变化,系统会再次提示您。

  1. 打开资源管理器窗口并导航到 Documents/NetBeansProjects
  2. 创建一个名为 KnownHosts.txt 的文本文件
  3. 在 Netbeans 中右键单击项目
  4. 单击“属性” 单击“
  5. 运行配置”
  6. 管理”
  7. 单击输入字段旁边的“
  8. “已知主机文件” 单击“浏览”导航到您创建的目录KnownHosts 文本文件
  9. 选择该文件
  10. 单击“确定”
  11. 单击“确定”
  12. 在项目中上传一些内容。该提示将出现一次,但不会再次出现。

You can create an empty file and set it as the Known Hosts File in the Manage Remote Connections window. The next time you tell NetBeans to connect anyway, it will save the fingerprint in that file and stop bothering you. I think it's safe to assume that if the key changes, you will be prompted again.

  1. Open an Explorer window and navigate to Documents/NetBeansProjects
  2. Create a text file called KnownHosts.txt
  3. In Netbeans right-click on a project
  4. Click Properties
  5. Click Run Configuration
  6. Click Manage
  7. Next to the input field Known Host Files click Browse
  8. Navigate to the directory where you created the KnownHosts text file
  9. Select that file
  10. Click OK
  11. Click OK
  12. In the project upload something. The prompt will appear this one time but not again.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文