Documentation for SSH key type configuration

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-04-19 19:17:42 -06:00
parent 7046c6dc8c
commit a164498aa5
2 changed files with 34 additions and 0 deletions

View File

@@ -108,6 +108,15 @@ data from other structures.
- Mount: {{ $export.Mount }} - Mount: {{ $export.Mount }}
{{- end }} {{- end }}
### SSH
{{- if gt (len .Ssh.KeyTypes) 0 }}
- Key types:
{{- range $index, $keyType := .Ssh.KeyTypes }}
- {{ $keyType }}
{{- end }}
- First key type: {{ index .Ssh.KeyTypes 0 }}
{{- end }}
### Warewulf ### Warewulf

View File

@@ -49,6 +49,12 @@ Warewulf (4.5.1):
- source: /etc/resolv.conf - source: /etc/resolv.conf
dest: /etc/resolv.conf dest: /etc/resolv.conf
readonly: true readonly: true
ssh:
key types:
- rsa
- dsa
- ecdsa
- ed25519
Generally you can leave this file as is, as long as you set the Generally you can leave this file as is, as long as you set the
appropriate networking information. Specifically the following appropriate networking information. Specifically the following
@@ -151,6 +157,25 @@ may be overridden using ``warewulf.conf:paths``.
* ``wwclientdir``: Where the Warewulf client looks for its configuration on a provisioned node. * ``wwclientdir``: Where the Warewulf client looks for its configuration on a provisioned node.
SSH key types
-------------
*New in Warewulf v4.5.1*
SSH key types to generate during ``wwctl configure ssh`` may be overridden using ``warewulf.conf:ssh:key types``.
.. code-block:: yaml
ssh:
key types:
- rsa
- dsa
- ecdsa
- ed25519
Warewulf will generate host keys for each listed key type.
The first listed key type is used to generate authentication ssh keys.
nodes.conf nodes.conf
========== ==========