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

前端 未结 9 1610
無奈伤痛
無奈伤痛 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:55

    Run in Admin Mode from Windows PowerShell

    pscp -i /path/to/private_key source_file user@ip:/home/location
    

提交回复
热议问题