mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
19 lines
730 B
Plaintext
19 lines
730 B
Plaintext
// Text snippet included in the following modules:
|
|
//
|
|
// * modules/configuring-secret-for-wmco.adoc
|
|
// * modules/creating-the-vsphere-windows-vm-golden-image.adoc
|
|
|
|
:_mod-docs-content-type: SNIPPET
|
|
|
|
If you created the key pair on a {op-system-base-full} system, before you can use the public key on a Windows system, make sure the public key is saved using ASCII encoding. For example, the following PowerShell command copies a public key, encoding it for the ASCII character set:
|
|
|
|
[source,terminal]
|
|
----
|
|
C:\> echo "ssh-rsa <ssh_pub_key>" | Out-File <ssh_key_path> -Encoding ascii
|
|
----
|
|
|
|
where:
|
|
|
|
`<ssh_pub_key>`:: Specifies the SSH public key used to access the cluster.
|
|
`<ssh_key_path>`:: Specifies the path to the SSH public key.
|