Przeglądaj źródła

docs: authorized-keys

Nils Schneider 9 lat temu
rodzic
commit
3b0e596e08
2 zmienionych plików z 16 dodań i 0 usunięć
  1. 15 0
      docs/features/authorized-keys.rst
  2. 1 0
      docs/index.rst

+ 15 - 0
docs/features/authorized-keys.rst

@@ -0,0 +1,15 @@
+Adding SSH public keys
+======================
+
+By using the package ``gluon-authorized-keys`` it is possible to add
+SSH public keys to an image to permit root login.
+
+If you select this package, add a list of authorized keys to ``site.conf`` like this:::
+
+  {
+    authorized_keys: { 'ssh-rsa AAA.... user1@host',
+                       'ssh-rsa AAA.... user2@host }
+    hostname_prefix: ...
+    ...
+
+Existing keys in ``/etc/dropbear/authorized_keys`` will be preserved.

+ 1 - 0
docs/index.rst

@@ -26,6 +26,7 @@ Features
    features/private-wlan
    features/mesh-on-wan
    features/announce
+   features/authorized-keys
 
 Developer Documentation
 -----------------------