setsshkey

January 10, 2024

ID 179802

This command lets you configure authorization by SSH key for accessing an SVM without the klconfig account password (configuration password). As a result of command execution, the specified key (text in Base64 encoding) is added to the authorized SSH key file. The key is valid for 2 hours.

You can use this command in the SVM first startup script for configuring access to the SVM prior to setting the configuration password.

Settings

<Base64EncodedAuthorizationKeyEntry> – key (text encoded in 64-bit code without spaces).

Example:

> ssh klconfig@10.16.98.17 setsshkey SGVsbG8gd29ybGQh

> klconfig@10.16.98.17’s password:

job 1 at Tue Aug 14 16:17:00 2018

KLCONFIG OK

Specific errors

0160 Could not decode key. Make sure that the key is correctly encoded and does not contain spaces.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.