king

​centos ssh命令找不到怎么办?

king linux 2022-06-18 778浏览 0

centos ssh命令找不到怎么办?

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 root@127.0.0.1
root@127.0.0.1's password:

成功执行。


继续浏览有关 linuxcentosssh 的文章
发表评论