Skip to content

Commit 5d1debd

Browse files
authored
Reminder to use an RSA key (#57)
* Ensure we generate an RSA key OpenSSH generates ed25519 keys by default since 9.5[1]. This conflicts with the FIPS policy in the current RHEL release (9.4) which forbids ed25519 SSH keys[2]. This prevents you from being able to access the system. Essentially we need to wait for RHEL to support FIPS 186-5 before switching to ed25519. [1] https://www.openssh.com/txt/release-9.5 [2] https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/securing_networks/index#making-openssh-more-secure_assembly_using-secure-communications-between-two-systems-with-openssh * Move note
1 parent a3e72a9 commit 5d1debd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,18 @@ Initialise Terraform:
6262
6363
terraform init
6464
65-
Generate an SSH keypair. The public key will be registered in OpenStack as a
65+
Generate an SSH keypair. Note that `ED25519 keys are not currently supported by RHEL
66+
<https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/securing_networks/index#making-openssh-more-secure_assembly_using-secure-communications-between-two-systems-with-openssh>`__
67+
when using the FIPS security standard (as enabled by the CIS benchmark hardening
68+
scripts in kayobe-config). The public key will be registered in OpenStack as a
6669
keypair and authorised by the instances deployed by Terraform. The private and
6770
public keys will be transferred to the Ansible control host to allow it to
6871
connect to the other hosts. Note that password-protected keys are not currently
6972
supported.
7073

7174
.. code-block:: console
7275
73-
ssh-keygen -f id_rsa -N ''
76+
ssh-keygen -t rsa -f id_rsa -N ''
7477
7578
Create an OpenStack clouds.yaml file with your credentials to access an
7679
OpenStack cloud. Alternatively, download and source an openrc file from Horizon.

0 commit comments

Comments
 (0)