Rebex SFTP for .NET

SshSession Members

SshSession overview

Public Static Fields

DefaultPort Default SSH port (22).

Public Instance Constructors

SshSession Overloaded. Initializes a new instance of the SshSession class.

Public Instance Properties

Cipher Gets the active cipher.
Connected Gets a value indicating whether a SshSession is connected to a remote server.
Fingerprint Gets the server public key fingerprint.
Handle Gets the operating system handle for the inner Socket.
LocalEndPoint Gets the local endpoint.
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.
Socket Gets or sets the internal Socket value.
State Gets the current session state.
Timeout Gets or sets the

Public Instance Methods

AuthenticateOverloaded. Authenticates to the SSH server using a username and an RSA or DSA private key.
Close Terminates the SSH session.
Connect Establishes a connection to an SSH server.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Negotiate Requests and performs an additional key exchange. Not all SSH servers support this.
OpenChannelOverloaded. Opens a channel of the specified type.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SshSession Class | Rebex.Net Namespace