#可以通過這條命令查看卸載前后的openssh相關服務安裝情況
命令:rpm -qa openssh*
#卸載
命令:yum remove openssh*
然后安裝ssh
命令:yum install openssh-server
命令:vim /etc/ssh/sshd_config
#啟動服務
命令:systemctl start sshd
#開機自啟
命令:systemctl enable sshd
總結:。。。。。。。。。(此處省略一萬字)