feat: add DisableEcho property to GenericSshClient and integrate with CommFactory

This commit is contained in:
Neil Dorin 2026-07-21 15:16:54 -06:00
parent 9656e3c408
commit 42b358862f
2 changed files with 16 additions and 1 deletions

View file

@ -68,6 +68,7 @@ namespace PepperDash.Essentials.Core;
{
var ssh = new GenericSshClient(deviceConfig.Key + "-ssh", c.Address, c.Port, c.Username, c.Password);
ssh.AutoReconnect = c.AutoReconnect;
ssh.DisableEcho = c.DisableSshEcho;
if(ssh.AutoReconnect)
ssh.AutoReconnectIntervalMs = c.AutoReconnectIntervalMs;
comm = ssh;