News for hackers. Stuff that matters.
Re:A Word about Systemd by vetinari on Wednesday September 18, 2024 @02:38PM (#41583820)
`sudo netstat -nlp` or `sudo ss -nlp` (without root you won't know pid).

`systemctl status ssh` shows, that it is socket-activated:

    TriggeredBy: ● ssh.socket
[Oh, checking the entire thread for context; never mind]
Re:A Word about Systemd by egorfine on Thursday September 19, 2024 @04:57AM (#41589924)
Hindsight.

You would know to run netstat or lsof if you have expected something like that to happen. It certainly wouldn't ever cross my mind to have sshd socket-activated and systemd actively trying to hide the fact. This change by Canonical was out of the blue, totally unexpected.