The SshSession type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() ![]() | Authenticated | Obsolete. |
![]() ![]() | Cipher |
Gets the active cipher.
|
![]() ![]() | Connected | Obsolete. |
![]() ![]() | Encoding |
Gets or sets the Encoding to use to encode and decode command parameters and server responses.
|
![]() ![]() | Fingerprint |
Gets the server public key fingerprint.
|
![]() ![]() | HasAuthenticationRequestEventHandler |
Gets a value indicating whether the AuthenticationRequest event is registered.
|
![]() ![]() | HasFingerprintEventHandler |
Gets a value indicating whether the FingerprintCheck event is registered.
|
![]() ![]() | HasForwardingRequestEventHandler |
Gets a value indicating whether the ForwardingRequest event is registered.
|
![]() ![]() | Information |
Gets socket information on the underlying socket object.
|
![]() ![]() | InstanceId |
Gets instance ID (intended for logging purposes).
(Inherited from NetworkSession.) |
![]() ![]() | IsAuthenticated |
Gets a value indicating whether the session is authenticated.
(Overrides NetworkSession..::..IsAuthenticated.) |
![]() ![]() | IsConnected |
Gets a value indicating whether the session is connected.
(Overrides NetworkSession..::..IsConnected.) |
![]() ![]() | LocalEndPoint |
Gets the local endpoint.
|
![]() ![]() | LogWriter |
Gets or sets the LogWriter used by this object.
(Inherited from NetworkSession.) |
![]() ![]() | Options |
Gets or sets SshSession options.
|
![]() ![]() | Parameters |
Gets or sets the security parameters of the current socket.
|
![]() ![]() | RemoteEndPoint |
Gets the remote endpoint.
|
![]() ![]() | ServerIdentification |
Gets the server's identification string it returns after connected.
|
![]() ![]() | ServerInfo |
Gets information about SSH negotiation.
|
![]() ![]() | ServerKey |
Gets the server public key.
|
![]() ![]() | ServerName |
Gets the server name, if available.
(Inherited from NetworkSession.) |
![]() ![]() | ServerPort |
Gets the server port, if available.
(Inherited from NetworkSession.) |
![]() ![]() | Socket |
Gets the internal ISocket value.
|
![]() ![]() | State |
Gets the current session state.
|
![]() ![]() | Timeout |
Gets or sets the length of time before the operation times out (specify -1 or 0 to indicate that the request does not time out).
|
![]() ![]() | UserName |
Gets the authenticated user name, if available.
(Inherited from NetworkSession.) |