mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 12:08:21 +02:00
* SSH semi functional
This commit is contained in:
parent
3833f9910e
commit
0f1fe31fe5
5 changed files with 53 additions and 46 deletions
|
@ -184,7 +184,7 @@ function startListening() {
|
|||
|
||||
// :TODO: handle maxConnections, e.g. conf.maxConnections
|
||||
|
||||
server.on('client', function onClient(client) {
|
||||
server.on('client', function newClient(client, clientSock) {
|
||||
//
|
||||
// Start tracking the client. We'll assign it an ID which is
|
||||
// just the index in our connections array.
|
||||
|
@ -193,7 +193,7 @@ function startListening() {
|
|||
client.session = {};
|
||||
}
|
||||
|
||||
clientConns.addNewClient(client);
|
||||
clientConns.addNewClient(client, clientSock);
|
||||
|
||||
client.on('ready', function onClientReady() {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue