Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / SSHClient Class / Connect Method / Connect(String) Method
A string representing the SSH server's address.


In This Topic
    Connect(String) Method
    In This Topic
    Connects the SSHClient to an SSH server.
    Syntax
    'Declaration
     
    Public Overloads Sub Connect( _
       ByVal serverAddress As String _
    ) 
    'Usage
     
    Dim instance As SSHClient
    Dim serverAddress As String
     
    instance.Connect(serverAddress)
    public void Connect( 
       string serverAddress
    )

    Parameters

    serverAddress
    A string representing the SSH server's address.
    Remarks
    This method uses SSHConstants.SSH_PORT for the port.
    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