Troubleshooting
Problem
After installation of the CEC agent, key.pl returns an error when configuring unprompted SSH access to the HMC as a non-root user
Symptom
When running the key.pl script as a non-root user (E.g. tivadm), it fails with the following error:
$ /opt/IBM/ITM/aix523/pk/bin/key.pl
Enter the name of the primary HMC server: hmcserver
Enter the name of the HMC user[hscroot]:
Generating public/private rsa key pair.
Created directory '/home/tivadm/.ssh'.
Your identification has been saved in /home/tivadm/.ssh/id_rsa. Your public key has been saved in /home/tivadm/.ssh/id_rsa.pub. The key fingerprint is:
16:d7:3b:80:7f:28:aa:aa:23:b8:8e:e7:be:f6:04:9c tivadm@cecagent
The key's randomart image is:
+--[ RSA 2048]----+
| |
| . . |
| o o . |
| . . + o . |
| E S o + |
| . o . . . |
|. . . |
|= o. . |
|*X=+o |
+-----------------+
Setting up credential with hmcserver.
Would you like to set a backup HMC server yes/[no]?no
Would you like to continue setting a default managed system [yes]/no? yes
No managed system found.
Argument "" isn't numeric in numeric ge (>=) at
/opt/IBM/ITM/aix523/pk/bin/key.pl line 110, <> line 4.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
10 July 2024
UID
swg21666203