From 367a3e7fef9422a2193853c8b5d1149a69f1861f Mon Sep 17 00:00:00 2001 From: Yshayy Date: Wed, 6 Sep 2023 10:58:21 +0300 Subject: [PATCH] Update base-server.ts (#216) --- tunnel-server/src/ssh/base-server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tunnel-server/src/ssh/base-server.ts b/tunnel-server/src/ssh/base-server.ts index 3606520f..4699e61b 100644 --- a/tunnel-server/src/ssh/base-server.ts +++ b/tunnel-server/src/ssh/base-server.ts @@ -236,6 +236,7 @@ export const baseSshServer = ( .on('error', err => { log.error('client error: %j', inspect(err)) preevySshClient?.emit('error', err) + client.end() }) .on('session', accept => { log.debug('session')