首页 > 其他 > 详细

bash: scp: command not found

时间:2015-08-21 00:22:27      阅读:219      评论:0      收藏:0      [点我收藏+]

现在需要远程复制源码包使用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

bash: scp: command not found

原文:http://8407752.blog.51cto.com/8397752/1686681

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