Netbeans, sFTP, and that damn RSA Accept dialog!
Netbeans is great. I talk about it all the time. One of the many great thigns about it is that you can integrate one or several FTP/sFTP/SFTP connections to your project, to sling your files to remote dev or prod servers. You can set it to automatically upload files on save, or do it manually.
Unfortunately, I had been suffering form an incredibly annoying issue. I'm connected to a sFTP (file transfer over SSH that is - it's not even really FTP) server.
As we all know, SSH when you establish a connection will send you an RSA key to either accept or deny.
On every Netbeans transfer (I do hundreds a day) I would have to click "ok" on this stupid popup. Hundreds of times a day. It was driving me nuts! Why won't it remember the damn key?
Then I realized, "Shoot-darn It's probably not in a known_hosts file!". So I add it to the known hosts file. Nada.
Simple problems generally have simple solutions. If you know what the problem truly is. In my case, it took weeks to dawn on me. Tell Netbeans where the damn known_hosts file is!!!!!!!!1111!!!!lol!!!111
To do this all you have to do, is go into your Project Settings, Run Configuration, under Remote Connection: click "Manage". and tell it where the known_hosts file is!
Voila! It no longer prompts me with the stupid dialog!
Hope this helps someone out there!
Unfortunately, I had been suffering form an incredibly annoying issue. I'm connected to a sFTP (file transfer over SSH that is - it's not even really FTP) server.
The Problem:
As we all know, SSH when you establish a connection will send you an RSA key to either accept or deny.
On every Netbeans transfer (I do hundreds a day) I would have to click "ok" on this stupid popup. Hundreds of times a day. It was driving me nuts! Why won't it remember the damn key?
Then I realized, "Shoot-darn It's probably not in a known_hosts file!". So I add it to the known hosts file. Nada.
The Solution:
Simple problems generally have simple solutions. If you know what the problem truly is. In my case, it took weeks to dawn on me. Tell Netbeans where the damn known_hosts file is!!!!!!!!1111!!!!lol!!!111
To do this all you have to do, is go into your Project Settings, Run Configuration, under Remote Connection: click "Manage". and tell it where the known_hosts file is!
Voila! It no longer prompts me with the stupid dialog!
Hope this helps someone out there!