diff --git a/Pepperdash Core/Pepperdash Core/Comm/GenericSshClient.cs b/Pepperdash Core/Pepperdash Core/Comm/GenericSshClient.cs index 614ed1f..21339e0 100644 --- a/Pepperdash Core/Pepperdash Core/Comm/GenericSshClient.cs +++ b/Pepperdash Core/Pepperdash Core/Comm/GenericSshClient.cs @@ -250,6 +250,7 @@ namespace PepperDash.Core ConnectionInfo connectionInfo = new ConnectionInfo(Hostname, Port, Username, pauth, kauth); Client = new SshClient(connectionInfo); Client.ErrorOccurred += Client_ErrorOccurred; + Client.KeepAliveInterval = TimeSpan.FromMilliseconds(30000); //Attempt to connect ClientStatus = SocketStatus.SOCKET_STATUS_WAITING;