问题:
在使用ssh时,系统提示找不到该命令。
查看ssh的安装情况,发现少了openssh-clients包;ssh命令输入客户端命令,系统默认不会安装openssh-clients包
[root@backup tmp]# rpm -qa | grep ssh
openssh-5.3p1-84.1.el6.x86_64
openssh-server-5.3p1-84.1.el6.x86_64
libssh2-1.4.2-1.el6.x86_64
通过yum安装即可
[root@backup tmp]# yum -y install openssh-clients
[root@backup tmp]# rpm -qa | grep ssh
openssh-5.3p1-123.el6_9.x86_64
openssh-clients-5.3p1-123.el6_9.x86_64
libssh2-1.4.2-1.el6.x86_64
openssh-server-5.3p1-123.el6_9.x86_64
转载于:https://blog.51cto.com/13691477/2117067