fix up readme for ssh

This commit is contained in:
Andrew Pamment 2016-08-07 17:53:13 +10:00
parent f55823e0e3
commit fe890dc7ab
2 changed files with 10 additions and 6 deletions

View File

@ -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. 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. should work on debian and debian derivatives.
2. Clone the repo `git clone https://github.com/apamment/MagickaBBS` 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` `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. 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 For information on how to configure your BBS, check the wiki https://github.com/apamment/MagickaBBS/wiki

View File

@ -15,7 +15,7 @@ Fork = false
Enable SSH = false Enable SSH = false
SSH Port = 2024 SSH Port = 2024
SSH DSA Key = /home/andrew/MagickaBBS/keys/ssh_host_dsa_key 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] [paths]
PID File = /home/andrew/MagickaBBS/magicka.pid PID File = /home/andrew/MagickaBBS/magicka.pid