* SSH semi functional

This commit is contained in:
Bryan Ashby 2015-10-20 15:39:33 -06:00
parent 3833f9910e
commit 0f1fe31fe5
5 changed files with 53 additions and 46 deletions

View file

@ -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() {