thirty-two。 Mac uploads and downloads files to the remote server scp
1.scp upload
Scp source file user name @ ip address: destination directory
For example:
Scp. / a.log root@192.168.1.101:/root/upload/
2.scp download
The method is the same: change the file name before and after]
Scp root@192.168.1.101:/root/upload/a.log. /