終了ステータス 255 の構文エラーが原因で sshd サービスの起動に失敗する
Issue
-
sshd サービスを再起動または起動すると、sshd サービスが 'sshd.service:Main process exited, code=exited, status=255/n/a' で起動に失敗します
# systemctl restart sshd Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details. -
sshd サービスの起動に失敗します
Dec 18 06:54:19 node-0 systemd[1]: sshd.service: Main process exited, code=exited, status=255/n/a Dec 18 06:54:19 node-0 systemd[1]: sshd.service: Failed with result 'exit-code'. Dec 18 06:54:19 node-0 systemd[1]: Failed to start OpenSSH server daemon.
Environment
- Red Hat Enterprise Linux (すべてのバージョン)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.