SshSession.state

SshSessionState state() @property const;

Returns

the current lifecycle state.