``CONSFIGURATOR.PROPERTY.SSHD``
===============================
API reference
-------------

Basic configuration
~~~~~~~~~~~~~~~~~~~

Property: ``SSHD:INSTALLED``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

``(sshd:installed)``

Install an OpenSSH server.

Property: ``SSHD:CONFIGURED``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

``(sshd:configured &rest pairs)``

Set key--value pairs in /etc/ssh/sshd_config.

Property: ``SSHD:NO-PASSWORDS``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

``(sshd:no-passwords)``

Configure SSH to disallow password logins.
To prevent lockouts, also enables logging in as root with an SSH key, and
refuses to proceed if root has no authorized_keys.

Host keys
~~~~~~~~~

Property: ``SSHD:HAS-HOST-PUBLIC-KEY``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

``(sshd:has-host-public-key type public-key)``

Records an SSH public key of type TYPE as identifying this host.

Property: ``SSHD:HAS-HOST-KEY``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

``(sshd:has-host-key type public-key)``

Installs the host key whose public part is PUBLIC-KEY and is of type TYPE.
The private key is obtained as an item of prerequisite data.
