openssh/openssh-sshd.socket

12 lines
185 B
SYSTEMD

[Unit]
Description=OpenSSH Server Socket
Conflicts=sshd.service
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
[Socket]
ListenStream=22
Accept=yes
[Install]
WantedBy=sockets.target