I am trying to copy resources to another location. I am using maven wagon-ssh plugin to do this. It works fine locally, I am having issues when using Hudson/Jenkins.
The problem was that RSA keys were not exchanged.
so what I did was that, I connected both the servers from command line. So the RSA keys got stored and
Are you sure you want to continue connecting? (yes/no): The authenticity of host 'address' can't be established.
RSA key fingerprint is 10:.......:bb.
this message stopped. It works perfectly now