Linux scp command

scp commands from a remote server to download files or upload files to a remote server (applies to: ftp temporary use mac software is not installed)

Upload:

scp local file path root @ IP: remote path

例: scp /Users/xxx/Downloads/email.png [email protected]:/root/img

下载:
scp [email protected]:/root/img/email.png /Users/xxx/Downloads

Note: You can use local file path relative path

Reference:  https://www.runoob.com/linux/linux-comm-scp.html

Guess you like

Origin www.cnblogs.com/W-it-H-ou-T/p/11029449.html