Centos7.6如何解決Failed to start sshd.service錯(cuò)誤
Centos7.6如何解決Failed to start sshd.service錯(cuò)誤
1.systemctl status sshd.service,輸入該命令按回車鍵執(zhí)行查看服務(wù)狀態(tài)
2.sshd -t,輸入該命令按回車鍵執(zhí)行查看錯(cuò)誤提示
3.chown -R root:root /var/empty/sshd,輸入該命令按回車鍵執(zhí)行
4.chmod 744 /var/empty/sshd,輸入該命令按回車鍵執(zhí)行
5.service sshd start,輸入該命令按回車鍵執(zhí)行即可