Code: Select all
pi@fipbox:/var/log $ sudo systemctl status sshd.service
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled)
Active: failed (Result: start-limit) since Sun 2016-02-14 10:53:14 UTC; 1min 21s ago
Process: 1093 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
Main PID: 1093 (code=exited, status=255)
Feb 14 10:53:14 fipbox systemd[1]: ssh.service: main process exited, code=exited, status=255/n/a
Feb 14 10:53:14 fipbox systemd[1]: Unit ssh.service entered failed state.
Feb 14 10:53:14 fipbox systemd[1]: ssh.service holdoff time over, scheduling restart.
Feb 14 10:53:14 fipbox systemd[1]: Stopping OpenBSD Secure Shell server...
Feb 14 10:53:14 fipbox systemd[1]: Starting OpenBSD Secure Shell server...
Feb 14 10:53:14 fipbox systemd[1]: ssh.service start request repeated too quickly, refusing to start.
Feb 14 10:53:14 fipbox systemd[1]: Failed to start OpenBSD Secure Shell server.
Feb 14 10:53:14 fipbox systemd[1]: Unit ssh.service entered failed state.
pi@fipbox:/var/log $
Code: Select all
pi@fipbox:/var/log $ cat /etc/systemd/system/sshd.service
[Unit]
Description=OpenBSD Secure Shell server
After=network.target auditd.service
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
[Service]
EnvironmentFile=-/etc/default/ssh
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=sshd.service
Kann mir jemand helfen ?