Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / SSHClient Class
Members


In This Topic
    SSHClient Class
    In This Topic
    Represents the SSH client that will be used for the SFTP operations.
    Syntax
    'Declaration
     
    Public Class SSHClient 
       Implements System.IDisposable 
    'Usage
     
    Dim instance As SSHClient
    public class SSHClient : System.IDisposable  
    Inheritance Hierarchy

    System.Object
       Xceed.SSH.Client.SSHClient

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the SSHClient class.  
    Top
    Protected Fields
     NameDescription
    Protected Field  
    Protected FieldThe SSHClientConnectionManager that the SSHClient uses.  
    Protected Field  
    Protected Field  
    Protected Field  
    Protected FieldThe SocketIOProvider that the SSHClient uses.  
    Protected Field  
    Protected FieldThe SSHProtocolsProvider that the SSHClient uses.  
    Top
    Public Properties
     NameDescription
    Public Property  
    Public Property  
    Public Property  
    Public Property  
    Public Property  
    Public Property  
    Public PropertyGet or sets a Boolean value that indicates whether SSHClient can close its assigned TraceWriter as part of its cleanup.  
    Public PropertyGets a System.Boolean value that indicates if the SSHClient object is authenticated to a server or not.  
    Public Property  
    Public PropertyGets a System.Boolean value that indicates if the SSHClient object is connected to a server or not.  
    Public Property  
    Public PropertyGets the SSHClient's SSH connection protocol.  
    Public Property  
    Public Property  
    Public Property  
    Public Property  
    Public PropertyGets the host name used to connect, or an empty string if not connected.  
    Public Property  
    Public Property  
    Public Property  
    Public Property

    Gets or sets the local IP address and port from which the SSH client will be or is connected from.

     
    Public PropertyGets the port being used by the SSH client.  
    Public PropertyGets or sets the proxy client to use for connecting and/or logging in via a proxy server.  
    Public Property  
    Public PropertyGets the host name used to connect expressed as a System.Net.IPEndPoint object or null if the client is not connected.  
    Public Property  
    Public Property  
    Public Property  
    Public Property  
    Public Property  
    Public PropertyGets or sets a value, in seconds, indicating after what period of time an SSH operation should timeout.  
    Public Property  
    Public PropertyGets or sets the System.IO.TextWriter which will trace the connection/deconnection process as well as the commands and replies sent to and received from the SSH server.  
    Public Property  
    Public Property  
    Public Property  
    Public Property  
    Public Property  
    Public PropertyGets or sets a System.Boolean value that indicates whether, when connecting, the client should wait for the server to send its encryption keys.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Performs authentication of the SSHClient's SSH connection using the provided username and password.  
    Public MethodOverloaded. Connects the SSHClient to an SSH server.  
    Public MethodDisconnects the SSHClient from the SSH server.  
    Public MethodOverloaded.   
    Public Method  
    Public MethodOverloaded.   
    Public Method  
    Public MethodOverloaded.   
    Top
    Public Events
     NameDescription
    Public Event  
    Public Event  
    Public Event  
    Public EventThis event is triggered during connection sequence to a SSH server when the server's public key is received for authentication.  
    Top
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also