SocketTools .NET Edition

SshClient Properties

The properties of the SshClient class are listed below. For a complete list of SshClient class members, see the SshClient Members topic.

Public Instance Properties

AutoResolve Gets and sets a value that determines if host names and addresses are automatically resolved.
Blocking Gets and sets a value which indicates if the client is in blocking mode.
CipherStrength Gets a value that indicates the length of the key used by the encryption algorithm for a secure connection.
CodePage Gets and sets the code page used when reading and writing text.
Columns Gets and sets the number of columns for the virtual terminal session.
Command Gets and sets the command that will be executed on the server.
ExitCode Returns the exit code from the command executed on the server.
Fingerprint Returns a string that uniquely identifies the server.
Handle Gets a value that specifies the client handle allocated for the current session.
HashStrength Gets a value which specifies the length of the message digest that was selected for a secure connection.
HostAddress Gets and sets a value which specifies the Internet address used to establish a connection.
HostName Gets and sets a value which specifies the host name used to establish a connection.
IsBlocked Gets a value which indicates if the current thread is performing a blocking client operation.
IsConnected Gets a value which indicates if a connection to the remote host has been established.
IsInitialized Gets a value which indicates if the current instance of the class has been initialized successfully.
IsReadable Gets a value which indicates if there is data available to be read from the socket connection to the server.
IsWritable Gets a value which indicates if data can be written to the client without blocking.
KeepAlive Gets and sets a value which determines if the client session should kept active.
LastError Gets and sets a value which specifies the last error that has occurred.
LastErrorString Gets a value which describes the last error that has occurred.
LocalAddress Gets the local Internet address that the client is bound to.
LocalName Gets a value which specifies the host name for the local system.
LocalPort Gets the local port number the client is bound to.
NewLine Gets and sets the end-of-line character sequences sent to the server.
Options Gets and sets a value which specifies one or more client options.
Password Gets and sets the password used to authenticate the client session.
PrivateKey Gets and sets the name of the private key file used to authenticate the client session.
ProxyHost Gets and sets the hostname or IP address of a proxy server.
ProxyPassword Gets and sets the password used to authenticate the connection to a proxy server.
ProxyPort Gets and sets a value that specifies the proxy server port number.
ProxyType Gets and sets the type of proxy server the client will use to establish a connection.
ProxyUser Gets and sets the username used to authenticate the connection to a proxy server.
RemotePort Gets and sets a value which specifies the remote port number.
RemoteService Gets and sets a value which specifies the remote service.
Rows Gets and sets the number of rows for the virtual terminal session.
Secure Gets and sets a value which specifies if a secure connection is established.
SecureCipher Gets a value that specifies the encryption algorithm used for a secure connection.
SecureHash Gets a value that specifies the message digest algorithm used for a secure connection.
SecureKeyExchange Gets a value that specifies the key exchange algorithm used for a secure connection.
SecureProtocol Gets and sets a value which specifies the protocol used for a secure connection.
Status Gets a value which specifies the current status of the client.
Terminal Gets and sets the terminal type used for a remote login session.
ThreadModel Gets and sets a value which specifies the threading model for the class instance.
ThrowError Gets and sets a value which specifies if method calls should throw exceptions when an error occurs.
Timeout Gets and sets a value which specifies a timeout period in seconds.
Trace Gets and sets a value which indicates if network function logging is enabled.
TraceFile Gets and sets a value which specifies the name of the logfile.
TraceFlags Gets and sets a value which specifies the client function tracing flags.
UserName Gets and sets the username used to authenticate the client session.
Version Gets a value which returns the current version of the SshClient class library.

See Also