2 ms·
I really don't think I trust this approach, despite it being vouched for by so many responders to this thread. When I run this: sudo lsof -t -i :22 I expe
by darrenf 3y ago
I really don't think I trust this approach, despite it being vouched for by so many responders to this thread. When I run this:
sudo lsof -t -i :22
I expected to get sshd and nothing else, but it actually includes outgoing ssh connections too - which I don't want to kill. Likewise :443 gives clients like the pids of firefox and signal. I'm gonna stick with `fuser`.