# modified from /usr/lib/systemd/system/sshd.service [Unit] After=network.target sshdgenkeys.service Before=ssh-access.target Description=OpenSSH Daemon Documentation=man:sshd(8) man:sshd_config(5) Wants=sshdgenkeys.service ssh-access.target After=ns0.service [Service] Type=notify-reload ExecStart=/usr/bin/sshd -D KillMode=process Restart=always NetworkNamespacePath=/run/netns/ns0 [Install] WantedBy=multi-user.target