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