The SshSession type exposes the following members.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAcceptTcpIpForward(SshForwardingHandle)
Accepts a forwarded incoming connection. If there is no incoming connection in the queue, waits indefinitely.
Public methodSupported by the .NET Compact FrameworkAcceptTcpIpForward(SshForwardingHandle, Int32)
Accepts a forwarded incoming connection.
Public methodSupported by the .NET Compact FrameworkAuthenticate(String)
Authenticates to the SSH server interactively. Uses AuthenticationRequest to ask for credentials.
Public methodSupported by the .NET Compact FrameworkAuthenticate(SshGssApiCredentials)
Authenticates to the server using GSSAPI. Kerberos is only supported on Mono. NTLM is supported on Windows and partially on Mono.
Public methodSupported by the .NET Compact FrameworkAuthenticate(String, SshPrivateKey)
Authenticates to the SSH server using a username and an RSA or DSA private key.
Public methodSupported by the .NET Compact FrameworkAuthenticate(String, String)
Authenticates to the SSH server using a username and password.
Public methodSupported by the .NET Compact FrameworkAuthenticate(String, String, SshPrivateKey)
Authenticates to the SSH server using a username and an RSA or DSA private key and a password.
Public methodSupported by the .NET Compact FrameworkClose Obsolete.
Public methodSupported by the .NET Compact FrameworkConnect(EndPoint)
Establishes a connection to an SSH server.
Public methodSupported by the .NET Compact FrameworkConnect(String)
Establishes a connection to port 22 of an SSH server.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32)
Establishes a connection to an SSH server.
Public methodSupported by the .NET Compact FrameworkDisconnect
Terminates the SSH session.
Public methodSupported by the .NET Compact FrameworkDispose
Disposes the SshSession object and the underlying socket object.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkChangePassword
Changes the specified user's password on the SSH server and authenticates.
Public methodSupported by the .NET Compact FrameworkKeepAlive
Sends an SSH_MSG_IGNORE packet to the server.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkNegotiate
Requests and/or performs a key exchange.
Protected methodSupported by the .NET Compact FrameworkOnAuthenticationRequest
Raises the AuthenticationRequest event.
Protected methodSupported by the .NET Compact FrameworkOnBannerReceived
Raises the BannerReceived event.
Protected methodSupported by the .NET Compact FrameworkOnFingerprintCheck
Raises the FingerprintCheck event.
Public methodSupported by the .NET Compact FrameworkOpenChannel
Opens an SSH channel of the specified type.
Public methodSupported by the .NET Compact FrameworkOpenSession
Opens an SSH session channel.
Public methodSupported by the .NET Compact FrameworkOpenTcpIpTunnel(IPEndPoint)
Opens an outgoing TCP/IP tunnel to the specified remote endpoint.
Public methodSupported by the .NET Compact FrameworkOpenTcpIpTunnel(String, Int32)
Opens an outgoing TCP/IP tunnel to the specified remote endpoint.
Public methodSupported by the .NET Compact FrameworkStartTcpIpForward
Starts incoming TCP/IP tunnel on the specified IP address and port at the SSH server.
Public methodSupported by the .NET Compact FrameworkStopTcpIpForward
Stops an incoming TCP/IP tunnel.
Public methodSupported by the .NET Compact FrameworkToSocketFactory
Gets a socket factory that creates socket tunneled through this SSH session.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also