SshSession.transport

SshTransport transport() @property

Returns

the transport this session runs on.