Putty won't cache the keys to access a server when run script in hudson

前端 未结 9 1607
無奈伤痛
無奈伤痛 2020-12-05 03:59

I had a simple automation process to write which needed to copy a few files from linux server to windows via SSH. This can be accomplished using putty.

SSH, as part

9条回答
  •  离开以前
    2020-12-05 04:59

    It had been working fine with

    pscp file user@dest: 
    

    but then I got the same error. So I did:

    pscp -l USERNAME -pw PASSWORD FILE 10.1.1.1:
    

    and that did the trick for me.

提交回复
热议问题