Can you detect if an ssh connection closed? [migrated]
I have 2 Linux systems. One system will be constantly connected to the other machine via SSH.
If it detects that the connection closed, it will connect via ssh again, and run a specific command.
Is this even possible or not?
I saw cronjob,… Continue reading Can you detect if an ssh connection closed? [migrated]