views:

177

answers:

1

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?

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.

+4  A: 

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.

Mike
That worked for me. I just made a text file, called it "Known Hosts File", put it in the directory where I throw all of my NetBeans projects, and then set the Known Hosts File in the Manage Remote Connections window to be that file. After I said "yes" to make a connection, it wrote the host information to that file and never prompted me again. Thanks.
Thomas Owens