标签:scp
comand name: scp
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
comments:
warning:
1. problem:
If you want to scp some file from server A to the server B, you have to install the scp command on server B also, or you will have error like this.
=================================================
[root@hcszmons02 ~]# scp "/usr/bin/scp" ericz@10.24.8.4:/tmp/
ericz@10.24.8.4‘s password:
bash: scp: command not found
=================================================
solution: install scp on server B, yum install openssh-clients.x86_64
标签:scp
原文地址:http://zhangke0516.blog.51cto.com/1655731/1833554