标签:输入密码 ble client 否则 not pac href 之间 yum
在测试中需要在两台虚拟机之间传递文件,首先想到的是scp命令,结果提示:
-bash: scp: command not found
想当然用yum install scp命令安装,结果提示:
No package scp available.
后来发现scp这东西应该属于openssh-clients这个包,运行:
yum install openssh-clients
再运行scp就可以了,再次运行:
scp 1.so root@192.168.0.182:/root/
输入密码后又再次提示:
bash: scp: command not found
在目标主机也同样安装一下openssh-clients,再次尝试,问题解决。
PS:需要拷贝的源服务器以及目标服务器均需要安装保证有scp命令,否则还是会提示command not found
标签:输入密码 ble client 否则 not pac href 之间 yum
原文地址:https://www.cnblogs.com/cy1993/p/10986423.html