Restarting sshd (via systemctl): Job for sshd.service failed because the control process exited with error code. See “systemctl status sshd.service” and “journalctl -xe” for details.
升级openssh后重启sshd服务报错
报错信息如下
通过/usr/sbin/sshd -T命令查看发现是权限问题。
/usr/sbin/sshd -T
设置完权限后正常重启sshd服务
chmod -R 600 /etc/ssh/*