From e299b9269ec55f8b60143919a5c879d92cf1f0ee Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 29 Oct 2015 16:01:21 -0600 Subject: [PATCH] * Updated some packages * Updated README.md with SSH key gen config --- README.md | 17 ++++++++++++++++- package.json | 10 +++++----- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d16939ea..8f27ba2e 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,22 @@ messages: { ```bash npm install ``` -4. Launch: +4. Generate a PK for SSH usage: +```bash +mkdir misc +openssl genrsa -des3 -out ./misc/ssh_private_key.pem 2048 +``` + +After generation, set servers.ssh.privateKeyPass to your password in config.hjson: +```hjson +servers: { + ssh: { + privateKeyPass: YOUR_PK_PASS + } +} +``` + +5. Launch: ```bash node main.js ``` diff --git a/package.json b/package.json index 3254e763..64b75705 100644 --- a/package.json +++ b/package.json @@ -4,16 +4,16 @@ "description": "ENiGMA½ Bulletin Board System", "author": "Bryan Ashby ", "license": "BSD-2-Clause", - "repository" : { - "type" : "git", - "url" : "https://github.com/NuSkooler/enigma-bbs.git" + "repository": { + "type": "git", + "url": "https://github.com/NuSkooler/enigma-bbs.git" }, "keywords": [ "bbs", "telnet" ], "dependencies": { - "async": "1.4.x", + "async": "^1.5.0", "binary": "0.3.x", "buffers": "0.1.x", "bunyan": "1.5.x", @@ -26,7 +26,7 @@ "node-uuid": "1.4.x", "pty.js": "0.3.x", "sqlite3": "3.1.x", - "ssh2": "^0.4.11", + "ssh2": "^0.4.12", "string-format": "davidchambers/string-format#mini-language" }, "engine": "node >= 0.12.2"