How to upload and download files and directories with SSH
This article mainly introduces "how to upload and download files and directories in SSH". In daily operation, I believe many people have doubts about how to upload and download files and directories in SSH. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "how to upload and download files and directories in SSH". Next, please follow the editor to study!
File upload: scp local path / file name root@xx.xx.xx.xx: server path
File download: scp root@xx.xx.xx.xx: server path local path / file name
Directory upload scp-r local path / root@xx.xx.xx.xx: server path /
Directory download scp-r root@xx.xx.xx.xx: server path / local path /
At this point, the study on "how to upload and download files and directories by SSH" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!