[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detect a timeout on Session and Command Execution


 Hi,

Which properties or functions should I check to detect a timeout ?
(session and command timeout)

Because my current rules work in most cases but not in all:

If readBytes = 0 and (ssh_channel_is_eof: channel) not -> i assume time out.

No bytes have been read from the channel and the channel did not receive an
eof.

Is this ok ? Or the timeout should be detected with other rules...

regards,
bruno

Archive administrator: postmaster@lists.cynapses.org