|
@@ -36,20 +36,21 @@ For extra security you may also want to add a passphrase to the ssh private key.
|
36
|
36
|
cat ~/.ssh/id_rsa.pub
|
37
|
37
|
#+END_SRC
|
38
|
38
|
|
39
|
|
-Copy the contents of *~/.ssh/id_rsa* and *~/.ssh/id_rsa.pub* to you password manager, together with the private key password if you created one.
|
40
|
|
-
|
41
|
|
-ssh to the Freedombone and edit the authorized keys:
|
|
39
|
+Log into your system and open the control panel.
|
42
|
40
|
|
43
|
41
|
#+BEGIN_SRC bash
|
44
|
42
|
ssh username@domain -p 2222
|
45
|
|
-emacs ~/.ssh/authorized_keys
|
|
43
|
+su
|
|
44
|
+control
|
46
|
45
|
#+END_SRC
|
47
|
46
|
|
48
|
|
-Now copy and paste the contents of *id_rsa.pub* into the authorized_keys file. Save the file and exit. Open another terminal window and try logging in again and you should notice that you are no longer asked for a password, because the ssh key is used instead.
|
|
47
|
+Select /Manage Users/ then /Change user ssh public key/. Copy and paste the public key here, then exit.
|
|
48
|
+
|
|
49
|
+It's a good idea to also copy the contents of *~/.ssh/id_rsa* and *~/.ssh/id_rsa.pub* to you password manager, together with the private key password if you created one.
|
49
|
50
|
|
50
|
51
|
There are advantages and disadvantages to using ssh keys for logins. The advantage is that this is much more secure than a memorised password, but the disadvantage is that you need to carry your ssh keys around and be able to install them on any computer of mobile device that you use. In high security or hostile infosec environments it may not be possible to carry or use USB thumb drives containing your keys and so memorised passwords may be the only available choice.
|
51
|
52
|
|
52
|
|
-If you wish to only use ssh keys then log in to the Freedombone and edit */etc/ssh/sshd_config*, then change *PasswordAuthentication* to "no", save and run *service ssh restart*. Any subsequent attempts to log in via a password will then be denied.
|
|
53
|
+If you wish to only use ssh keys then log in to the Freedombone, become the root user and open the control panel with the 'control' command. Select /Security Settings/ then keep hitting enter until you reach the question about allowing password logins. Select "no" for that, then apply the settings. Any subsequent attempts to log in via a password will then be denied.
|
53
|
54
|
|
54
|
55
|
* Using Email
|
55
|
56
|
** A technical note about email transport security
|