gluon/docs/features/authorized-keys.rst

22 lines
745 B
ReStructuredText
Raw Normal View History

Adding SSH global public keys
=============================
2015-01-01 02:30:18 +00:00
By using the package ``gluon-authorized-keys`` it is possible to add SSH public
keys to an image while compiling to permit root login.
2014-09-15 17:26:30 +00:00
These keys work global on all nodes running the specific build - be careful not
to lose the private keys.
2014-09-15 17:26:30 +00:00
If you select this package, add a list of authorized keys to ``site.conf`` like this::
2014-09-15 17:26:30 +00:00
{
authorized_keys = { 'ssh-rsa AAA.... user1@host',
'ssh-rsa AAA.... user2@host },
hostname_prefix = ...
...
}
2014-09-15 17:26:30 +00:00
Existing keys in ``/etc/dropbear/authorized_keys`` will be preserved on update.
2015-01-01 02:30:18 +00:00
.. seealso:: For Information how to add a SSH keys to single nodes see :doc:`/user/authentication`.