Bug#676830: openssh systemd unit file
Hi!
There's a nice one here, "https://wiki.ubuntu.com/systemd#Workaround_.231:_Missing_unit_for_sshd"
Before the link disappears, I'll give the relevant bits here:
=========================
[Unit]
Description=OpenBSD Secure Shell server
After=network.target
[Service]
ExecStartPre=/bin/mkdir -p /run/sshd
ExecStart=/usr/sbin/sshd -D
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
=========================
I'm not sure about the target's names and such, though, so you guys should have a look.
Thanks for the great work on my favorite distribution!
Yours,
Sebastian
Reply to: