Nano and timeout error fix #1

This commit is contained in:
LukeGus
2024-12-04 21:19:30 -06:00
parent b6a3f881a8
commit 1139160e48
3 changed files with 15 additions and 36 deletions

View File

@@ -67,6 +67,8 @@ wss.on('connection', (ws) => {
port: 22, // Default SSH port
username: data.username, // Username provided from the client
password: data.password, // Password provided from the client
keepaliveInterval: 15000, // Send keep-alive packets every 15 seconds
keepaliveCountMax: 3, // Retry keep-alive 3 times before disconnecting
});
}
} catch (error) {