Change client advice, based on the control panel
This commit is contained in:
parent
da1214ea75
commit
a12bde8c89
|
@ -42,15 +42,10 @@
|
||||||
| [[Adding or removing users]] |
|
| [[Adding or removing users]] |
|
||||||
| [[./app_pihole.html][Blocking Ads]] |
|
| [[./app_pihole.html][Blocking Ads]] |
|
||||||
|
|
||||||
* Readme
|
* Securing your system
|
||||||
After the system has installed a README file will be generated which contains any advice on particular apps installed. Ordinarily you won't need to read it though. You can access it with the following commands:
|
There are a few things you can do to maximise the security of your system.
|
||||||
|
** Use ssh keys rather than passwords
|
||||||
|
|
||||||
#+BEGIN_SRC bash
|
|
||||||
ssh username@domainname -p 2222
|
|
||||||
editor ~/README
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
To exit if you're using emacs (which is the default editor, but can be changed to vim) you can either just close the terminal or use *CTRL-x CTRL-c* followed by the *exit* command.
|
|
||||||
* Improving ssh security
|
* Improving ssh security
|
||||||
To improve ssh security you can generate an ssh key pair on your system and then upload the public key to the Freedombone.
|
To improve ssh security you can generate an ssh key pair on your system and then upload the public key to the Freedombone.
|
||||||
|
|
||||||
|
|
|
@ -184,11 +184,14 @@ function configure_ssh_client {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ''
|
echo ''
|
||||||
echo $'Copy the following into a file called /home/username/.ssh/authorized_keys on the Freedombone server'
|
echo $'Go to the Administrator Control Panel, select "Manage Users", '
|
||||||
|
echo $'"Change user ssh public key" then "yes" and paste the following:'
|
||||||
echo ''
|
echo ''
|
||||||
echo $(cat /home/$CURR_USER/.ssh/id_rsa.pub)
|
echo $(cat /home/$CURR_USER/.ssh/id_rsa.pub)
|
||||||
echo $(cat /home/$CURR_USER/.ssh/id_ed25519.pub)
|
echo $(cat /home/$CURR_USER/.ssh/id_ed25519.pub)
|
||||||
echo ''
|
echo ''
|
||||||
|
echo $'Then go to "Security Settings", select "Allow ssh login with passwords"'
|
||||||
|
echo $'and set it to "no".'
|
||||||
}
|
}
|
||||||
|
|
||||||
function configure_monkeysphere {
|
function configure_monkeysphere {
|
||||||
|
|
Loading…
Reference in New Issue