Common commands for transferring files between Linux servers using the scp command: 1. Download the directory on the server to the specified directory on the currently logged-on server: scp-P port number-r user name @ Server IP:/directory name local directory name using instance: scp-P port number-r root@192.168.1.240: /zsk/hollykm/home/hollykm: copy the linux Server 192.168.1.240/zsk/hollykm directory to the/home/hollykm directory of the server you are currently logged on. Www.2cto.com remarks: the default SSH port is 22. If modified, it is changed to the modified port number. If the default port number is 22, no-P is required. -R indicates cyclic replication. 2. download the files on the server to the specified directory of the currently logged-on server and name: Use instance: scp root@192.168.1.240: /zsk/hollykm/test.txt/home/test_copy.txt copy the file/zsk/hollykm/test.txt on linux Server 192.168.1.240 to/home/on the login server and rename it as lsxy117 by test_copy.txt