香港VPScentos7重裝ssh服務方法:
重裝之前先要卸載之前安裝的服務通過rpm命令查看openssh的安裝情況rpm -qa openssh*
通過yum remove命令卸載yum remove openssh*重裝:yum -y install openssl openssh-serveryum -y install openssh*vi /etc/ssh/sshd_config
啟動服務systemctl start sshd設置開機自啟systemctl enable sshd