-bash: ssh: command not found
解决方法:
命令安装SSH:
yum -y install openssh-clients
[root@had2 ~]# yum -y install openssh-clients
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.qlu.edu.cn
* extras: mirrors.ustc.edu.cn
* updates: mirrors.qlu.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package openssh-clients.x86_64 0:7.4p1-22.el7_9 will be installed
--> Finished Dependency Resolution
Dependencies Resolved