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

RequestMessagePassword

Represents "password" SSH_MSG_USERAUTH_REQUEST message.
public byte[] NewPassword { get; }

Gets new authentication password.

public byte[] Password { get; }

Gets authentication password.

public RequestMessagePassword(ServiceName serviceName, string username, byte[] password)

Initializes a new instance of the RequestMessagePassword class.

public RequestMessagePassword(ServiceName serviceName, string username, byte[] password, byte[] newPassword)

Initializes a new instance of the RequestMessagePassword class.