So using me desktop computer – Mint Mate 20, I periodically lose internent connectivity. I’ve considered that this could be a bad ethernet cable (though I’m using the same cable I’ve used for years) or something going bad with my wireless router. BUT: Bizarrely, I have found that this can be fixed by doing “service ssh restart”. When this happens I have no ssh connections. It makes absolutely zero sense…to me, anyway.
I was concerned about some sort of hack so I’ve looked for ways to discover any ssh connections accompanied by their associated IP addresses. I found a list of commands and only the following worked:
sudo ss -tp | grep "ESTAB.*sshd"