centos 下ssh命令找不到(-bash: ssh: command not found)

centos6.8 使用ssh 连接远程服务器提示:

-bash: ssh: command not found


centos默认安装有ssh服务,没有客户端。


查看ssh安装

# rpm -qa | grep openssh

openssh-5.3p1-123.el6_9.x86_64

openssh-server-5.3p1-123.el6_9.x86_64

没有安装openssh-clients


yum安装ssh客户端

# yum -y install openssh-clients


# ssh [email protected]

[email protected]'s password: 

成功执行。

你可能感兴趣的:(运维)