首页 > 其他 > 详细

[CommandDetail] SCP

时间:2016-08-02 17:12:22      阅读:232      评论:0      收藏:0      [点我收藏+]

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

[CommandDetail] SCP

原文:http://zhangke0516.blog.51cto.com/1655731/1833554

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!