Question: how to use ssh to copy files from linux to windows?
Answer: Install sshpass in Linux machine to skip password prompt. Script. sshpass -p 'xxxxxxx' scp /home/user1/*.* testuser@x.x.x.x:/d/test/