SshSession.pump

Advances all session state machines.

Performs pending non-blocking reads and writes on the session transport, progresses version exchange, key exchange, rekey, authentication operations, channels, and control messages, and completes finished operations. Must not be called reentrantly.

Returns

Aggregate progress; when this is WAIT, ERROR, or the

session is otherwise blocked, consult waitState.