[Unit] Description=OpenBSD Secure Shell server Documentation=man:sshd(8) man:sshd_config(5) [Service] Restart=always ExecStartPre=/usr/sbin/sshd -t -f ${HOME}/.ssh/sshd_config ExecStart=/usr/sbin/sshd -D -e -f ${HOME}/.ssh/sshd_config ExecReload=/usr/sbin/sshd -t -f ${HOME}/.ssh/sshd_config ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartPreventExitStatus=255 Type=notify [Install] WantedBy=default.target #Alias=sshd.service