rsa-key-fingerprint

I NetBeans, can I somehow store the RSA key fingerprint of the remote server or not have NetBeans confirm the key before taking action?

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 m...

ssh: The authenticity of host 'hostname' can't be established

When i ssh to a machine, sometime i get this error warning and it prompts to say "yes" or "no". This cause some trouble when running from scripts that automatically ssh to other machines. Is there a way to automatically say "yes" or ignore this? ...