Skip to content

Commit

Permalink
Merge pull request #45034 from kelbrown20/fixing-example-for-installe…
Browse files Browse the repository at this point in the history
…r-2007783

BZ2007783 - Updating ssh key in installer
  • Loading branch information
EricPonvelle authored May 13, 2022
2 parents 4036b7d + 265f7ec commit 73dda35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/ssh-agent-using.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ endif::openshift-origin[]
----
$ ssh-keygen -t ed25519 -N '' -f <path>/<file_name> <1>
----
<1> Specify the path and file name, such as `~/.ssh/id_rsa`, of the new SSH key. If you have an existing key pair, ensure your public key is in the your `~/.ssh` directory.
<1> Specify the path and file name, such as `~/.ssh/id_ed25519`, of the new SSH key. If you have an existing key pair, ensure your public key is in the your `~/.ssh` directory.
+
[NOTE]
====
Expand All @@ -180,11 +180,11 @@ If you plan to install an {product-title} cluster that uses FIPS Validated / Mod
$ cat <path>/<file_name>.pub
----
+
For example, run the following to view the `~/.ssh/id_rsa.pub` public key:
For example, run the following to view the `~/.ssh/id_ed25519.pub` public key:
+
[source,termanal]
----
$ cat ~/.ssh/id_rsa.pub
$ cat ~/.ssh/id_ed25519.pub
----

. Add the SSH private key identity to the SSH agent for your local user, if it has not already been added. SSH agent management of the key is required for password-less SSH authentication onto your cluster nodes, or if you want to use the `./openshift-install gather` command.
Expand Down Expand Up @@ -218,7 +218,7 @@ If your cluster is in FIPS mode, only use FIPS-compliant algorithms to generate
----
$ ssh-add <path>/<file_name> <1>
----
<1> Specify the path and file name for your SSH private key, such as `~/.ssh/id_rsa`
<1> Specify the path and file name for your SSH private key, such as `~/.ssh/id_ed25519`
+
.Example output
[source,terminal]
Expand Down

0 comments on commit 73dda35

Please sign in to comment.