Skip to content

Commit

Permalink
reference: examples for ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
dbungert committed Jul 25, 2024
1 parent cda41b7 commit 949e285
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions doc/reference/autoinstall-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,33 @@ allow-pw
* **type:** boolean
* **default:** ``true`` if ``authorized_keys`` is empty, ``false`` otherwise

ssh examples:

.. code-block:: yaml
autoinstall:
# default behavior
ssh:
install-server: false
authorized-keys: []
allow-pw: true
autoinstall:
# recommended configuration when openssh-server is desired
ssh:
install-server: true
authorized-keys:
# replace with the contents of the public key(s) as generated by
# ssh-keygen or similar tools
- ssh-ed25519 AAAAC3NzaC..6O8tvZobj user@host
allow-pw: false
autoinstall:
# configuration for password access
ssh:
install-server: true
allow-pw: true
.. _ai-codecs:

codecs
Expand Down

0 comments on commit 949e285

Please sign in to comment.