NetBeans always shows warning: “The authenticity of host x can't be established” after upload, download or synchronize

限于喜欢 提交于 2019-12-03 06:28:15

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/3328930/netbeans-always-shows-warning-the-authenticity-of-host-x-cant-be-established

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!