mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
feat: add DisableEcho property to GenericSshClient and integrate with CommFactory
This commit is contained in:
parent
9656e3c408
commit
42b358862f
2 changed files with 16 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue