<PackageReference Include="SSH.NET" Version="2024.0.0" />

RequestMessageHost

Represents "hostbased" SSH_MSG_USERAUTH_REQUEST message.
public byte[] ClientHostName { get; }

Gets the name of the client host as ASCII encoded byte array.

public byte[] ClientUsername { get; }

Gets the client username on the client host as UTF-8 encoded byte array.

public byte[] PublicHostKey { get; }

Gets the public host key and certificates for client host.

public byte[] PublicKeyAlgorithm { get; }

Gets the public key algorithm for host key as ASCII encoded byte array.

public byte[] Signature { get; }

Gets the signature.

public RequestMessageHost(ServiceName serviceName, string username, string publicKeyAlgorithm, byte[] publicHostKey, string clientHostName, string clientUsername, byte[] signature)

Initializes a new instance of the RequestMessageHost class.