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

Detect a timeout on Session and Command Execution


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

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


Archive administrator: postmaster@lists.cynapses.org