How to extend SSH session timeout and allow commands to survive beyond the SSH session closure
For example, a command, such as a debug or packet capture is run, but it fails to capture relevant data because the SSH session times out. Commands run from a SSH session (such as PuTTY) self-terminate when the SSH session ends, making it difficult to run traffic captures or debugs for long periods of time.
There are two methods to address this:
- How to kill the process if you don't know the PID?