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

Renci.SshNet.ExpectAction

public class ExpectAction
Specifies behavior for expected expression
namespace Renci.SshNet { public class ExpectAction { public Regex Expect { get; } public Action<string> Action { get; } public ExpectAction(Regex expect, Action<string> action); public ExpectAction(string expect, Action<string> action); } }