# scp
-bash: scp: command not found

# which scp
/usr/bin/scp

# rpm -qf /usr/bin/scp
openssh-clients-4.3p2-72.el5

# yum install openssh-clients
或者从光盘上安装
# rpm -ivh libedit-2.11-4.20080712cvs.1.el6.x86_64
# rpm -ivh openssh-clients-5.3p1-20.el6.x86_64

如果还报错,bash: scp: command not found
lost connection
本地是有scp命令的,密码输入也是正确的
加-v参数查看详细过程,认证已经通过,判断应该是远端服务器的scp命令没有安装.

相关文章:

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