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