SSH异常“Failed to start OpenSSH Server daemon”

[root@bogon yum]# systemctl status sshd.service
● sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Wed 2018-06-06 00:48:43 PDT; 37s ago
     Docs: man:sshd(8)
           man:sshd_config(5)
  Process: 59425 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=255)
 Main PID: 59425 (code=exited, status=255)

Jun 06 00:48:43 bogon systemd[1]: sshd.service: main process exited, code=exited, status=255/n/a
Jun 06 00:48:43 bogon systemd[1]: Failed to start OpenSSH server daemon.
Jun 06 00:48:43 bogon systemd[1]: Unit sshd.service entered failed state.
Jun 06 00:48:43 bogon systemd[1]: sshd.service failed.

执行命令: /usr/sbin/sshd -t

即可看到具体错误的地方:

Missing Match criteria for //\346\255\244\345\244\204\346\230\257\347\224\250\346\210\267\347\273\204\347\232\204\345\256\266\347\233\256\345\275\225
/etc/ssh/sshd_config line 135: Bad Match condition

参考网址:

https://yq.aliyun.com/articles/103191?t=t1

上一篇:Java操作Excel中HSSFCell.CELL_TYPE_STRING、BOOLEAN、NUMERIC无定义解决方法


下一篇:“error LNK1169: 找到一个或多个多重定义的符号”的解决方法(转载)