现在需要远程复制源码包使用scp命令:
[[email protected] Downloads]# scp
nginx-1.6.2.tar.gz 172.25.16.2:
[email protected]‘s password:
bash:
scp: command not found //提示错误
lost
connection
//解决方法:
[[email protected] Downloads]# which
scp
/bin/scp
[[email protected] Downloads]# rpm -qf
/bin/scp
openssh-clients-6.4p1-8.el7.x86_64
//找到scp所在的安装包
[[email protected] Downloads]# yum install
openssh-clients-6.4p1-8.el7.x86_64
时间: 2024-10-03 03:58:29