How do I copy a file from Linux to Windows with SCP?

Thê Hy

New member
How do I copy a file from Linux to Windows with SCP?
Answer
Here is the solution to copy files from Linux to Windows using SCP without password by ssh:
  1. Install sshpass in Linux machine to skip password prompt.
  2. Script. sshpass -p ‘xxxxxxx’ scp /home/user1/*.*

    [email protected]

    :/d/test/
 

Tìm kiếm

Back
Top