#可以通過這條命令查看卸載前后的openssh相關服務安裝情況
命令:rpm -qa openssh*
#卸載
命令:yum remove openssh*
然后安裝ssh
命令:yum install openssh-server
命令:vim /etc/ssh/sshd_config
#啟動服務
命令:systemctl start sshd
#開機自啟
命令:systemctl enable sshd
總結:。。。。。。。。。(此處省略一萬字)
#可以通過這條命令查看卸載前后的openssh相關服務安裝情況
命令:rpm -qa openssh*
#卸載
命令:yum remove openssh*
然后安裝ssh
命令:yum install openssh-server
命令:vim /etc/ssh/sshd_config
#啟動服務
命令:systemctl start sshd
#開機自啟
命令:systemctl enable sshd
總結:。。。。。。。。。(此處省略一萬字)
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。