Listen 'address' for SSH
This commit is contained in:
parent
8114a1e3f2
commit
37ea1e3a30
|
@ -353,7 +353,7 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
|
|||
return cb(Errors.Invalid(`Invalid port: ${config.loginServers.ssh.port}`));
|
||||
}
|
||||
|
||||
this.server.listen(port, err => {
|
||||
this.server.listen(port, config.loginServers.ssh.address, err => {
|
||||
if(!err) {
|
||||
Log.info( { server : ModuleInfo.name, port : port }, 'Listening for connections' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue