Initial update, some quirks to work out with NetRunner mostly
This commit is contained in:
@@ -184,10 +184,11 @@ module.exports = () => {
|
||||
'ecdh-sha2-nistp256',
|
||||
'ecdh-sha2-nistp384',
|
||||
'ecdh-sha2-nistp521',
|
||||
'diffie-hellman-group-exchange-sha256',
|
||||
'diffie-hellman-group14-sha1',
|
||||
'diffie-hellman-group-exchange-sha1',
|
||||
'diffie-hellman-group1-sha1',
|
||||
// Group exchange not currnetly supported
|
||||
// 'diffie-hellman-group-exchange-sha256',
|
||||
// 'diffie-hellman-group-exchange-sha1',
|
||||
],
|
||||
cipher : [
|
||||
'aes128-ctr',
|
||||
|
||||
@@ -359,7 +359,7 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
|
||||
//
|
||||
ssh2.Server.KEEPALIVE_INTERVAL = 0;
|
||||
|
||||
this.server = ssh2.Server(serverConf);
|
||||
this.server = new ssh2.Server(serverConf);
|
||||
this.server.on('connection', (conn, info) => {
|
||||
Log.info(info, 'New SSH connection');
|
||||
this.handleNewClient(new SSHClient(conn), conn._sock, ModuleInfo);
|
||||
|
||||
Reference in New Issue
Block a user