Listen 'address' for SSH

This commit is contained in:
Bryan Ashby 2019-04-09 20:25:27 -06:00
parent 8114a1e3f2
commit 37ea1e3a30
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 1 additions and 1 deletions

View File

@ -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' );
}