void-packages/srcpkgs/openssh/files/sshd.service

17 lines
495 B
SYSTEMD
Raw Normal View History

# Note that this is the service file for running a single SSH server for all
# incoming connections, suitable only for systems with a large amount of SSH
# traffic. In almost all other cases it is a better idea to use sshd.socket +
# sshd@.service (i.e. the on-demand spawning version for one instance per
# connection).
[Unit]
Description=SSH Secure Shell Service
Wants=sshdgenkeys.service
After=sshdgenkeys.service
[Service]
ExecStart=/usr/sbin/sshd -D
[Install]
WantedBy=multi-user.target