/
Generate SSH key for use in Kasm
Generate SSH key for use in Kasm
There are several features in Kasm that accept an SSH key in the RSA format. It is common that a user’s current method of obtaining an SSH key will generate an “OPENSSH” formatted private key instead of an “RSA” (PEM) formatted private key. This article explains how to create a new key or convert an existing key from the OpenSSH format to the RSA format. The correctly formatted key will start with “-----BEGIN RSA PRIVATE KEY-----
“ and not “-----BEGIN OPENSSH PRIVATE KEY-----
".
Example of the acceptable format:
-----BEGIN RSA PRIVATE KEY-----
MIIJKAIBAAKCAgEAzbw8e0aDgfJJsSd9Sw1XmSK9AdtzRDyb4itH1fTMBKbwpSIl
rcF9/7d8LGeLMryBO+OQ0ap+3TKbu9fVh8fD7VvleRoC9isRrl+ghVs5LGZ28uTB
...
uWBKQE7jqjFCeuXZqLW21toEL5r2TkCbHK035bJD5FTeyzb1pPEHOIhemFE=
-----END RSA PRIVATE KEY-----
Instructions
Create a new RSA formatted key:
ssh-keygen -t rsa -b 4096 -m pem -f ./id_rsa
Convert an existing OpenSSH formatted key to RSA format:
cp ./id_rsa.openssh ./id_rsa
ssh-keygen -p -N "" -m pem -f ./id_rsa
Related Docs:
Links to related docs in the kasm_docs project
Related articles
Links to related kb articles in the Confluence project
, multiple selections available,
Related content
[DRAFT] How-to Backup and Restore a Kasm deploy to a different server
[DRAFT] How-to Backup and Restore a Kasm deploy to a different server
More like this
How to bulk create and delete local users from Kasm
How to bulk create and delete local users from Kasm
More like this
How to Manually Change the Name of a Kasm Zone
How to Manually Change the Name of a Kasm Zone
More like this
How to add a custom CA (Certificate Authority) Chain to Kasm service containers
How to add a custom CA (Certificate Authority) Chain to Kasm service containers
More like this