Home >Operation and Maintenance >CentOS >What to do if the centos ssh command cannot be found
centos ssh command cannot find the solution: 1. Check the ssh installation content; 2. Install the ssh client by executing "yum -y install openssh-clients".
The operating environment of this article: centos6.8 system, openssh-5.3, Dell G3 computer.
What should I do if the centos ssh command cannot be found?
centos The ssh command cannot be found (-bash: ssh: command not found)
centos6.8 uses ssh to connect to the remote server prompt:
-bash: ssh: command not found
centos The ssh service is installed by default and there is no client.
View ssh installation
# rpm -qa | grep openssh openssh-5.3p1-123.el6_9.x86_64 openssh-server-5.3p1-123.el6_9.x86_64
openssh-clients is not installed
yum installs ssh client
# yum -y install openssh-clients # ssh root@127.0.0.1 root@127.0.0.1's password:
executed successfully.
Recommended tutorial: "centos tutorial"
The above is the detailed content of What to do if the centos ssh command cannot be found. For more information, please follow other related articles on the PHP Chinese website!