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

centos6.8 使用ssh 鏈接遠程服務器提示:centos

-bash: ssh: command not foundbash

centos默認安裝有ssh服務,沒有客戶端。服務器

查看ssh安裝ssh

rpm -qa | grep openssh

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

沒有安裝openssh-clients.net

yum安裝ssh客戶端server

yum -y install openssh-clients

ssh root@127.0.0.1

root@127.0.0.1's password: blog

成功執行。get

————————————————
原文連接:https://blog.csdn.net/w294954902/article/details/80052425it

相關文章
相關標籤/搜索