From 3b0e596e089b870cc4dd36a998c0f43fc660820c Mon Sep 17 00:00:00 2001
From: Nils Schneider <nils@nilsschneider.net>
Date: Mon, 15 Sep 2014 19:26:30 +0200
Subject: [PATCH] docs: authorized-keys

---
 docs/features/authorized-keys.rst | 15 +++++++++++++++
 docs/index.rst                    |  1 +
 2 files changed, 16 insertions(+)
 create mode 100644 docs/features/authorized-keys.rst

diff --git a/docs/features/authorized-keys.rst b/docs/features/authorized-keys.rst
new file mode 100644
index 000000000..1ecb42df0
--- /dev/null
+++ b/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.
diff --git a/docs/index.rst b/docs/index.rst
index 1e616a1bf..f7a4e8b31 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -26,6 +26,7 @@ Features
    features/private-wlan
    features/mesh-on-wan
    features/announce
+   features/authorized-keys
 
 Developer Documentation
 -----------------------
-- 
GitLab