- 论坛徽章:
- 0
|
用rcp不可以吗,man rcp看下,配置个认证ip就直接可以操作了
Examples
In the following examples, the local host is listed in the /etc/hosts.equiv file
at the remote host.
1. To copy a local file to a remote host, enter:
rcp localfile host2:/home/eng/jane
The file localfile from the local host is copied to the remote host host2.
2. To copy a remote file from one remote host to another remote host, enter:
rcp host1:/home/eng/jane/newplan host2:/home/eng/mary
The file /home/eng/jane/newplan is copied from remote host host1 to remote
host host2.
3. To send the directory subtree from the local host to a remote host and
preserve the modification times and modes, enter:
rcp -p -r report jane@host2:report
The directory subtree report is copied from the local host to the home |
|