'Declaration Public Function New( _ ByVal host As String, _ ByVal port As Integer, _ ByVal user As String, _ ByVal password As String, _ ByVal cipherList As String, _ ByVal privateKey As String, _ ByVal passphrase As String, _ ByVal authenticationType As SshAuthenticationType, _ ByVal hostKeys As String, _ ByVal strictHostKeyChecking As Boolean _ )
public SshOptions( string host, int port, string user, string password, string cipherList, string privateKey, string passphrase, SshAuthenticationType authenticationType, string hostKeys, bool strictHostKeyChecking )
Parameters
- host
- Name or ip address of SSH server.
- port
- Number of port on SSH server to connect.
- user
- User id on SSH server.
- password
- User password on SSH server.
- cipherList
- List of ciphers that client agrees to use.
- privateKey
- Location of the private key to use.
- passphrase
- Passphrase for the client key.
- authenticationType
- Client authentication methods.
- hostKeys
- The location of the public key on the client side to verify the server host key during establishing connection.
- strictHostKeyChecking
- A boolean value, indicating whether the host key is verified during establishing connection.