I recently ran into an issue with a VPS where the SSH service crashed, leaving me unable to connect to the machine. The other services were up and running; only the SSH service died.
I managed to resolve the situation with a reboot from the VPS control panel, but the incident got me thinking:
Assuming:
- I don't have physical access to the machine
- I have no server control panel access or means of rebooting the server
- All other system services are still functioning
Then how could I recover from the SSH service dying?