Host Key verification failed

Hi,
I am running a script to scp a file from one server to another.
I have created the public/private key and copied the public key to the other server and appended it to authorized_key file.
But i am getting the error message saying "Host Key verification failed" Connection lost.
It works well with another server.
I found another file saying known_host. Dose i have to do something with it.
I am running the script in cron as root user.

Regards,
Ahamed.

please post the out put of :

# ssh -v -v host_server ----->> From source server

:b: :b:

Hi,
I am not suppose to post the content bcos it contains some confidential data like IP address. Its against my company policy.
Is there any other way to solve this?
out of 4 server,1 server is able to perform the scp operation in the script. The remaining 3 nodes are showing host key connection failure.what might be the issue for this?

Regards,
Ahamed.

OK...
Then just edit ~/.ssh/known_hosts file ( in the home directory of the user from where you are doing ssh) on SOURCE SERVER and remove all entry lines of host_server (either hostname or IP address).

Now again try to ssh to host_server from SOURCE SERVER and let us know if there is any problem.....

:):b::b: