现在需要远程复制源码包使用scp命令:
[root@localhost Downloads]# scp 
nginx-1.6.2.tar.gz 172.25.16.2:
root@172.25.16.2‘s password:      
bash: 
scp: command not found       //提示错误
lost 
connection
//解决方法:
[root@localhost Downloads]# which 
scp
/bin/scp
[root@localhost Downloads]# rpm -qf 
/bin/scp
openssh-clients-6.4p1-8.el7.x86_64         
//找到scp所在的安装包
[root@localhost Downloads]# yum install 
openssh-clients-6.4p1-8.el7.x86_64
原文:http://8407752.blog.51cto.com/8397752/1686681