今天用scp远程传输资料,报错如下:
-bash: scp: command not found
在网上搜资料解决办法如下:


安装scp的软件包:


# yum install openssh-clients


安装完毕本以为就可以了,在执行scp 后又报错如下:


# scp voice-server1.tar.gz 107.150.108.56:/data/bak
root@107.150.108.56's password: 
bash: scp: command not found
于是在远程的另外一端安装scp软件包,就解决了。
后续:scp成功执行,必须两台服务器上都能成功执行scp命令。

相关文章:

  • 2022-12-23
  • 2021-10-05
  • 2022-03-06
  • 2022-03-02
  • 2021-09-07
  • 2022-01-17
  • 2021-06-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2021-06-09
  • 2022-12-23
  • 2021-06-12
相关资源
相似解决方案