dotConnect for PostgreSQL Documentation
SshHostKey Property
See Also  support@devart.com
Devart.Data.PostgreSql Namespace > PgSqlConnectionStringBuilder Class : SshHostKey Property

Gets or sets the location of the public key on the client side to verify the server host key during establishing connection.

Syntax

Visual Basic (Declaration) 
Public Property SshHostKey As String
C# 
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 PostgreSQL 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

Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.

See Also