4 ms·
`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.soc
by vetinari 2y ago
`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]
- egorfine 2y agoHindsight. 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.