IP*Works! SSH V9 - Online Help
IP*Works! SSH V9
Questions / Feedback?

SSHCert Property

A certificate to be used for authenticating the SSHUser .

Syntax

[VB.NET]
Public Property SSHCert As Certificate

[C#]
public Certificate SSHCert {get; set;}

Remarks

In order to use public key authentication, SSHCert must contain a Certificate with a valid private key. The certificate's public key value is sent to the server along with a signature produced using the private key. The server will first check to see if the public key values match what is known for the user, and then will attempt to use those values to verify the signature.

Example (User/Password Auth):

Control.SSHAuthMode = SftpSSHAuthModes.amPassword
Control.SSHUser = "username"
Control.SSHPassword = "password"
Control.SSHLogon("server", 22)
Example (Public Key Auth):
Control.SSHAuthMode = SftpSSHAuthModes.amPublicKey
Control.SSHUser = "username"
 
Control.SSHCert = New Certificate(CertStoreTypes.cstPFXFile, "cert.pfx", "certpassword", "*") 
Control.SSHLogon("server", 22)

Default Value

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0