Two linux servers transfer files to each other, linux and local windows transfer files to each other

One, linux mutual transmission scp

Transfer files or directories from current linux to remote linux

scp  /home/test/test.txt [email protected]:/home/test2
scp -r /home/test [email protected]:/home/test2

Remote linux transfer to current linux transfer file or directory

scp -r  [email protected]:/home/test2 /home/test

Two, linux and windows transfer each other

rz Upload

sz download

No command, need to install: yum install lrzsz

Three, tool WinSCP.exe

Upload and download linux server files under windows, you can directly modify the files on linux.

Guess you like

Origin blog.csdn.net/x18094/article/details/106629189