Hi, you are right, but then if case that not Port 22 ist used in sshd_config how about testing if /etc/systemd/system/ssh.socket already exists and if not generate it with the right port? That maybe would make a smooth transition from non-systemd wheezy to systemd jessie. Greets