linux transfer files from one server to another server

First, the two servers can ping must be the
example:
ping 10.22.137.10
after the ping:
1. Copy the file
format:
scp directory / file name format of the target file server user name @ip address: the target server directory
Example:

/backup/test/md3/export.sh [email protected] SCP: / SSx / dev / MD
. 1
2, copy the directory (including the file directory)

scp -r /backup/test/md3 [email protected]:/ssx/dev/md

Guess you like

Origin blog.51cto.com/4085457/2416135