使用NetBeans SFTP建立远程项目的时候,总是会有RSA提示,百度搜索不得其果,转向GOOGLE,在NetBeans的官方论坛找到了解决方法,留作备忘。

原文:

 


1. Go in your project's properties and select "Run Configurations".
2. Hit "Manage" next to the Remote Connections ddl
3. Select the connection you are using and hit Browse next to the Known Hosts File box. Select a file (you may need to create an empty file beforehand)
4. Now select "Test Connection" - It should prompt you for the RSA Fingerprint confirmation - Select "Yes".
5. Select "Test Connection" again - At this point it should only report the result of the connection test - no more RSA messages.

Sincerely,
Stephan


 

译文 By Yuanjun.Liu:

 


1. 进入你的项目的<属性>,然后选择<运行配置>。
2. 点击<管理>,进入 管理远程连接
3. 选择你使用的连接,点击<浏览>,选择一个文件。(你需要事先创建一个空白文件)
4. 选择<测试连接> - 这时应该弹出RSA Fingerprint confirmation提示,选择<是>。
5. 再次选择<测试连接> - 这时应该只会提示连接结果了,不在有RSA信息。

真诚的,
Stephan