oss-sec mailing list archives
Re: Systemd vsock sshd
From: Benjamin McMahon <benjamin.mcmahon () webpros com>
Date: Mon, 29 Dec 2025 13:59:21 +0000
To prevent the vsock-based sshd from auto-spawning, see https://www.freedesktop.org/software/systemd/man/devel/systemd-ssh-generator.html In short: `systemd.ssh_auto=no` is the kernel-command-line setting which persists after reboots. ~Benjamin ________________________________________ From: Jacob Bachmeyer <jcb62281 () gmail com> Sent: Sunday, December 28, 2025 10:11 PM To: oss-security () lists openwall com <oss-security () lists openwall com>; Greg Dahlman <dahlman () gmail com> Subject: Re: [oss-security] Systemd vsock sshd [You don't often get email from jcb62281 () gmail com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] On 12/27/25 21:46, Greg Dahlman wrote:
[...] **Systemd v256 change** - When the *openssh-server* package is installed on a VM with vsock support, systemd now automatically starts an *sshd* instance that listens on the **af_vsock** socket in the **global network namespace** without any manual configuration.
Obvious question: what manual configuration is required to kill that listener? -- Jacob
Current thread:
- Systemd vsock sshd Greg Dahlman (Dec 27)
- Message not available
- Re: Systemd vsock sshd yen-mummify-yeah (Dec 28)
- Message not available
- Re: Systemd vsock sshd Sam James (Dec 28)
- Re: Systemd vsock sshd Sam James (Dec 28)
- Re: Systemd vsock sshd Greg Dahlman (Dec 28)
- Re: Systemd vsock sshd Sam James (Dec 28)
- Re: Systemd vsock sshd Jacob Bachmeyer (Dec 28)
- Re: Systemd vsock sshd Benjamin McMahon (Dec 29)
- Re: Systemd vsock sshd Greg Dahlman (Dec 29)
- Re: Systemd vsock sshd Pat Gunn (Dec 29)
- Re: Systemd vsock sshd Greg Dahlman (Dec 29)
- Re: Systemd vsock sshd Jacob Bachmeyer (Dec 30)
- Re: Systemd vsock sshd Demi Marie Obenour (Dec 30)
- Re: Systemd vsock sshd Pat Gunn (Dec 31)
- Re: Systemd vsock sshd Benjamin McMahon (Dec 29)
- <Possible follow-ups>
- Systemd vsock sshd wish42offcl98 (Dec 30)
- Re: Systemd vsock sshd Greg Dahlman (Dec 30)
