From: Luca Boccassi Date: Mon, 1 Nov 2021 23:32:20 +0000 (+0000) Subject: ssh: enable ssh.socket on Debian/Ubuntu X-Git-Tag: v11~9^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=328002496185951e4a673865a67b0b3f55704ca6;p=thirdparty%2Fmkosi.git ssh: enable ssh.socket on Debian/Ubuntu On Debian/Ubuntu there's a socket plus templated service for the ssh server, which works much more nicely than the fixed one. Use it. --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 0ce3b0da5..a478fbcb9 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -6590,7 +6590,7 @@ def setup_ssh( return None if args.distribution in (Distribution.debian, Distribution.ubuntu): - unit = "ssh" + unit = "ssh.socket" else: unit = "sshd"