I want check ssh session disconnect at sometime in a program.
In the stage, I'm check response stream match the disconnect template to decide connection is closed.The template could be:
Timeout, server xxx.xxx.xxx.xxx not responding.
and packet_write_wait: Connection to xxx.xxx.xxx.xxx port 22: Broken pipe
Is there others message could be print?