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

Renci.SshNet.PasswordAuthenticationMethod

Provides functionality to perform password authentication.
namespace Renci.SshNet { public class PasswordAuthenticationMethod : AuthenticationMethod, IDisposable { public event EventHandler<AuthenticationPasswordChangeEventArgs> PasswordExpired; public PasswordAuthenticationMethod(string username, string password); public PasswordAuthenticationMethod(string username, byte[] password); public void Dispose(); protected virtual void Dispose(bool disposing); } }