mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-07 21:25:34 +02:00
* Add .gitignore
* Use 'privateKeyPem' and 'privateKeyPass' for SSH
This commit is contained in:
parent
bddc575158
commit
349549fae2
3 changed files with 21 additions and 10 deletions
|
@ -25,13 +25,6 @@ exports.moduleInfo = {
|
|||
|
||||
exports.getModule = SSHServerModule;
|
||||
|
||||
/*
|
||||
TODO's
|
||||
* Need to handle new user path
|
||||
=> [ new username(s) ] -> apply path ->
|
||||
=> "new" or "apply" -> ....
|
||||
*/
|
||||
|
||||
function SSHClient(clientConn) {
|
||||
baseClient.Client.apply(this, arguments);
|
||||
|
||||
|
@ -239,7 +232,8 @@ SSHServerModule.prototype.createServer = function() {
|
|||
SSHServerModule.super_.prototype.createServer.call(this);
|
||||
|
||||
var serverConf = {
|
||||
privateKey : fs.readFileSync(Config.servers.ssh.rsaPrivateKey),
|
||||
privateKey : fs.readFileSync(Config.servers.ssh.privateKeyPem),
|
||||
passphrase : Config.servers.ssh.privateKeyPass,
|
||||
ident : 'enigma-bbs-' + enigVersion + '-srv',
|
||||
// Note that sending 'banner' breaks at least EtherTerm!
|
||||
debug : function debugSsh(dbgLine) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue