For example, to remotely upload files and folders in linux, I want to remotely upload the local Folder/home/administrator/Desktop/old/driver/test/to the/root/folder on the machine 192.168.62.10, use remote root user as login user scp-r/home/administrator/Desktop/old/driver/test/root@192.168.62.10:/root/www.2cto.com remote upload folder example, I want to remotely upload the local file/home/administrator/Desktop/old/driver/test/test.txt to the/root/folder of 192.168.62.10, use remote root user as login user scp/home/administrator/Desktop/old/driver/test/test.txt root@192.168.62.10:/root/actually upload files and folders the difference is in the parameter-r, it is similar to the cp and rm parameters. For example, to download multiple-r remote files/folders, I want to add the/root/folder on 192.168.62.10, download to local/home/administrator/Desktop/new/, use remote root login scp-r root@192.168.62.10: /root/home/administrator/Desktop/new/Summary command structure scp-r for remote upload and download (whether it is a folder) uploadfile (used when uploading files) root (remote user) @ 192.168.62.10 (remote host): (colon)/root/(remote folder location can be uploaded or downloaded) download the target location (for download) and then simply www.2cto.com scp-r user @ remotepc: /location: Put the source path before user @ remotepc:/location for upload. If the Source Path is downloaded, put the target path to user @ remotepc: /location: After uploading and downloading, is there some unclear points to teach you a simple method, just like cp source file address destination address scp, change the target address to the remote address author caiying0504.