Struct HostAuthenticationContext
- Namespace
- Tmds.Ssh
- Assembly
- Tmds.Ssh.dll
Context for host key authentication.
public struct HostAuthenticationContext
- Inherited Members
Properties
ConnectionInfo
Gets the SSH connection information.
public readonly SshConnectionInfo ConnectionInfo { get; }
Property Value
IsBatchMode
Returns whether this authentication is non-interactive.
[Obsolete("Use IsNonInteractive instead.")]
public bool IsBatchMode { get; }
Property Value
Remarks
Returns true when the connection is non-interactive, when the authentication is for a key re-exchange, or when the connection is an implicit connect (including automatic reconnects). When true, the HostAuthentication delegate mustn't make interactive prompts.
IsNonInteractive
Returns whether this authentication is non-interactive.
public bool IsNonInteractive { get; }
Property Value
Remarks
Returns true when the connection is non-interactive, when the authentication is for a key re-exchange, or when the connection is an implicit connect (including automatic reconnects). When true, the HostAuthentication delegate mustn't make interactive prompts.
KnownHostResult
Gets the known host verification result.
public readonly KnownHostResult KnownHostResult { get; }
Property Value
Methods
ResumeConnectTimeout()
Resumes the connect timeout after it was suspended.
public void ResumeConnectTimeout()
SuspendConnectTimeout()
Suspends the connect timeout so it does not expire while waiting for user interaction.
public void SuspendConnectTimeout()