dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnectionStringBuilder Class / SshHostKey Property

In This Topic
    SshHostKey Property
    In This Topic
    Gets or sets the location of the public key on the client side to verify the server host key during establishing connection.
    Syntax
    'Declaration
     
    Public Property SshHostKey As String
    public string SshHostKey {get; set;}

    Property Value

    The location of the public key on the client side to verify the server host key during establishing connection.
    Remarks

    dotConnect for MySQL support OpenSSH or IETF SECSH key files. You may use such utilities as 'ssh-keygen.exe' or 'puttygen.exe' for generation of the corresponding public/private key pair.

    For example, the IETF SECSH can have the followink look:

     ---- BEGIN SSH2 PUBLIC KEY ----
    Comment: "rsa-key-20090722"
    AAAAB3NzaC1yc2EAAAABJQAAAIEAjidZERzyvAUjQqOSCA2H5BWOKAamB2qgb0/f
    ak35AKnqvcuOeiJyqlmqz7/49oKa6T6+EjXp+pMbzTK0+YIn9Kg88jjnHJHA4D7s
    cGN7TQ6mY/dhht7VmkdTVVn5orbmnyTroZq2Ruj4Vus9xl57DFCdZFTnMMO4ruHL
    x+9PFHU=
    ---- END SSH2 PUBLIC KEY ----
    
    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