Files
for-gentoo/net-misc/openssh/files/sshd.socket
T
Fabio Erculiani 886c4b93ea [net-misc/openssh] fix systemd unit, move checkconfig to separate sh file
/etc/init.d/sshd now sources /sbin/sshd-functions.sh, which contains
checkconfig() and gen_key*() friends. This makes possible to reuse
that code in the systemd sshd service unit and properly setup
host keys the same way the openrc script does.
2013-04-04 18:02:30 +01:00

11 lines
136 B
SYSTEMD

[Unit]
Description=OpenSSH Server Socket
Conflicts=sshd.service
[Socket]
ListenStream=22
Accept=yes
[Install]
WantedBy=sockets.target