Back to product page

SSHStates Enumerations

This is the list of all possible states for the user that are set during connection lifetime.


It is not required that state changes are sequentially ordered - it is possible that, for example, immediately after Connected state User changes its state to Receiving.


Constant Value Description
Disconnected0 Disconnected from server.
Connecting 1 Connecting to server.
Negotiating2 Negotiating encryption algorithms.
Connected 3 Connected to server - idle.
Sending4 Sending data to server.
Receiving 5 Receiving data from server.