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

PhpNetbeansNetbeans 6.9Rsa Key-Fingerprint

Php Problem Overview


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.

Php Solutions


Solution 1 - Php

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionThomas OwensView Question on Stackoverflow
Solution 1 - PhpMikeView Answer on Stackoverflow