From fe890dc7ab9cb638c170331de06496e11524e478 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 7 Aug 2016 17:53:13 +1000 Subject: [PATCH] fix up readme for ssh --- README.md | 14 +++++++++----- config_default/bbs.ini | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1c2aa9d..c265cc2 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ while still retaining the classic BBS feel. ANSI & Telnet, and good old ZModem. If you want to install Magicka BBS, follow these steps. -1. Ensure you have git, c compiler, libsqlite3-dev, libreadline-dev, libssl-dev and gnu make +1. Ensure you have git, c compiler, libsqlite3-dev, libreadline-dev, libssl-dev, libssh-dev and gnu make - `sudo apt-get install build-essential libsqlite3-dev libreadline-dev git libssl-dev` + `sudo apt-get install build-essential libsqlite3-dev libreadline-dev git libssl-dev libssh-dev` should work on debian and debian derivatives. 2. Clone the repo `git clone https://github.com/apamment/MagickaBBS` @@ -67,13 +67,17 @@ If you want to install Magicka BBS, follow these steps. `cp -r ansi_default ansis` +10. If you are going to run SSH, you will need to create keys. To do this + `mkdir keys` + `ssh-keygen -f keys/ssh_host_rsa_key -N '' -t rsa` + `ssh-keygen -f keys/ssh_host_dsa_key -N '' -t dsa` -10. Run Magicka BBS on a port over 1024 (Below require root, and we're not ready for that). +11. Run Magicka BBS on a port over 1024 (Below require root, and we're not ready for that). - `./magicka config/bbs.ini 2300` + `./magicka config/bbs.ini` -11. Your BBS is now running on port 2300, log in and create yourself an account! (By default there is only one security level, you can add more, +12. Your BBS is now running on the port you specified in the config.ini, log in and create yourself an account! (By default there is only one security level, you can add more, but you will need to use an SQLite Manager to modify users.sq3 and set security levels, as there is no user editor yet. For information on how to configure your BBS, check the wiki https://github.com/apamment/MagickaBBS/wiki diff --git a/config_default/bbs.ini b/config_default/bbs.ini index 603e08c..b8fcc76 100644 --- a/config_default/bbs.ini +++ b/config_default/bbs.ini @@ -15,7 +15,7 @@ Fork = false Enable SSH = false SSH Port = 2024 SSH DSA Key = /home/andrew/MagickaBBS/keys/ssh_host_dsa_key -SSH RSA Key = /home/andrew/MagickaBBS/keys/ssh_rsa_key +SSH RSA Key = /home/andrew/MagickaBBS/keys/ssh_host_rsa_key [paths] PID File = /home/andrew/MagickaBBS/magicka.pid