Table of Contents

Class KeyboardInteractiveConnectionInfo

Namespace
Renci.SshNet
Assembly
Renci.SshNet.dll

Provides connection information when keyboard interactive authentication method is used.

public class KeyboardInteractiveConnectionInfo : ConnectionInfo, IDisposable

Inheritance

Implements

Inherited Members

Constructors

KeyboardInteractiveConnectionInfo(string, string)

Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.

public KeyboardInteractiveConnectionInfo(string host, string username)

Parameters

host string

The host.

username string

The username.

KeyboardInteractiveConnectionInfo(string, int, string)

Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.

public KeyboardInteractiveConnectionInfo(string host, int port, string username)

Parameters

host string

The host.

port int

The port.

username string

The username.

KeyboardInteractiveConnectionInfo(string, int, string, ProxyTypes, string, int)

Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.

public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort)

Parameters

host string

Connection host.

port int

Connection port.

username string

Connection username.

proxyType ProxyTypes

Type of the proxy.

proxyHost string

The proxy host.

proxyPort int

The proxy port.

KeyboardInteractiveConnectionInfo(string, int, string, ProxyTypes, string, int, string)

Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.

public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)

Parameters

host string

Connection host.

port int

Connection port.

username string

Connection username.

proxyType ProxyTypes

Type of the proxy.

proxyHost string

The proxy host.

proxyPort int

The proxy port.

proxyUsername string

The proxy username.

KeyboardInteractiveConnectionInfo(string, string, ProxyTypes, string, int)

Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.

public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort)

Parameters

host string

Connection host.

username string

Connection username.

proxyType ProxyTypes

Type of the proxy.

proxyHost string

The proxy host.

proxyPort int

The proxy port.

KeyboardInteractiveConnectionInfo(string, string, ProxyTypes, string, int, string)

Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.

public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)

Parameters

host string

Connection host.

username string

Connection username.

proxyType ProxyTypes

Type of the proxy.

proxyHost string

The proxy host.

proxyPort int

The proxy port.

proxyUsername string

The proxy username.

KeyboardInteractiveConnectionInfo(string, string, ProxyTypes, string, int, string, string)

Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.

public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)

Parameters

host string

Connection host.

username string

Connection username.

proxyType ProxyTypes

Type of the proxy.

proxyHost string

The proxy host.

proxyPort int

The proxy port.

proxyUsername string

The proxy username.

proxyPassword string

The proxy password.

KeyboardInteractiveConnectionInfo(string, int, string, ProxyTypes, string, int, string, string)

Initializes a new instance of the Renci.SshNet.KeyboardInteractiveConnectionInfo class.

public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)

Parameters

host string

Connection host.

port int

Connection port.

username string

Connection username.

proxyType ProxyTypes

Type of the proxy.

proxyHost string

The proxy host.

proxyPort int

The proxy port.

proxyUsername string

The proxy username.

proxyPassword string

The proxy password.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

AuthenticationPrompt

Occurs when server prompts for more authentication information.

public event EventHandler<AuthenticationPromptEventArgs> AuthenticationPrompt

Event Type

EventHandler<AuthenticationPromptEventArgs>