mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Version 0.8.46
This commit is contained in:
parent
f3c180a2c2
commit
ecc7292f37
6 changed files with 1745 additions and 1682 deletions
|
@ -710,7 +710,6 @@ module.exports.CreateSshFilesRelay = function (parent, db, ws, req, domain, user
|
|||
});
|
||||
});
|
||||
obj.sshClient.on('error', function (err) {
|
||||
console.log('error', err);
|
||||
if (err.level == 'client-authentication') { try { obj.ws.send(JSON.stringify({ action: 'autherror' })); } catch (ex) { } }
|
||||
if (err.level == 'client-timeout') { try { obj.ws.send(JSON.stringify({ action: 'sessiontimeout' })); } catch (ex) { } }
|
||||
obj.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue