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
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.