Question: how do i transfer files 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/