Linux copy file command scp

  
        

The most copy transfer tool we use under Linux, there are ftp, scp, etc.

The scp command is very simple and fast,

native to remote: scp (-r) local folder or file path remote ip: folder

remote to the machine :scp (-r) Remote ip: folder local file or folder path

Note that you need to enter the password of the remote machine when copying files, and the scp command is not the default -r. Not a command like zip. So you need to bring the -r parameter when copying the folder.

Copyright © Windows knowledge All Rights Reserved