diff --git a/docs/features/authorized-keys.rst b/docs/features/authorized-keys.rst new file mode 100644 index 00000000..1ecb42df --- /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 1e616a1b..f7a4e8b3 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 -----------------------