Maven Wagon SCP is not able to establish a connection

后端 未结 4 1887
自闭症患者
自闭症患者 2020-12-17 03:14

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.

4条回答
  •  情深已故
    2020-12-17 03:17

    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

提交回复
热议问题