
Isn't this just the socket activation which ends up in a running ssh service listening to the specified port?sam_ wrote:AFAIK, openssh doesn't support this directly, but systemd has a workaround: https://mastodon.social/@pid_eins/112411218075942131.
Kaidezee wrote:None, really. I just wonder if this is possible or not.what problem are you trying to solve by restricting the sshd to listen on a local socket?
Yes it is. And it is not officially supported by openssh upstream as it brings several problems:Banana wrote:Isn't this just the socket activation which ends up in a running ssh service listening to the specified port?sam_ wrote:AFAIK, openssh doesn't support this directly, but systemd has a workaround: https://mastodon.social/@pid_eins/112411218075942131.

I think you may be quoting an AI search result: 8.0p1-3 is version number from Arch Linux, not Gentoo or upstream OpenSSH.Zentoo wrote:- openssh have retired support of socket activation because of last point with the 8.0p1-3 version
I don't quote AI that I do not use at all but I found part of these informations effectively on Arch wiki.floppymaster wrote:I think you may be quoting an AI search result: 8.0p1-3 is version number from Arch Linux, not Gentoo or upstream OpenSSH.Zentoo wrote:- openssh have retired support of socket activation because of last point with the 8.0p1-3 version
Arch removed sshd.socket from their openssh package.
https://bugs.archlinux.org/task/6224
Gentoo still provides it.
openssh 8.0p1-3 removed sshd.socket that used systemd's socket activation due to it being susceptible to denial of service.
Code: Select all
/lib/systemd/system/sshd.socket