Bug#1137216: Subject: Re: Bug#1137216: systemd-ssh-generator does not create sshd-vsock.socket during boot
JP
froztbyte at froztbyte.net
Thu Aug 20 01:06:39 BST 2026
since I’ve just hit this myself on ec2 earlier today, here’s a workaround incase anyone needs it until a fixed build is uploaded
systemd-ssh-generator(8)[0] documents parameters that can be set to steer this. I’ve tested this to work on ec2
example:
```
echo ‘GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX systemd.ssh_listen=22”’ >> /etc/default/grub
update-grub
```
a subsequent reboot results in working ssh:
> Aug 19 23:28:27 sshdebug systemd[1]: Listening on sshd-extra.socket - OpenSSH Server Socket (systemd-ssh-generator, [::]:22).
`systemd-ssh-generator` still fails on the vsock check as before, but ssh does appear to reliably persist working through both `systemctl daemon-reload` and a reboot
-J
[0] - https://manpages.debian.org/unstable/systemd/systemd-ssh-generator.8.en.html
More information about the Pkg-systemd-maintainers
mailing list