mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-16 22:44:03 +02:00
Listen 'address' for SSH
This commit is contained in:
parent
8114a1e3f2
commit
37ea1e3a30
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ exports.getModule = class SSHServerModule extends LoginServerModule {
|
||||||
return cb(Errors.Invalid(`Invalid port: ${config.loginServers.ssh.port}`));
|
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) {
|
if(!err) {
|
||||||
Log.info( { server : ModuleInfo.name, port : port }, 'Listening for connections' );
|
Log.info( { server : ModuleInfo.name, port : port }, 'Listening for connections' );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue