Owner's Manual

Using the RACADM Command Line Interface 95
Deleting the Public Keys
To delete a public key type:
racadm sshpkauth –i svcacct –k 1 –d
To delete all public keys type:
racadm sshpkauth –i svcacct –k all –d
Logging in Using Public Key Authentication
After the public keys are uploaded, you should be able to log into the CMC
over SSH without having to enter a password. You also have the option of
sending a single RACADM command as a command line argument to the
SSH application. The command line options behave like remote RACADM
since the session ends after the command is completed. For example:
Logging in:
ssh service@<domain>
Or
ssh service@<IP_address>
where <IP_address> is the IP address of the CMC.
Sending racadm commands:
ssh service@<domain> racadm getversion
ssh service@<domain> racadm getsel
When you log in using the service account, if a passphrase was set up when
creating the public/private key pair, you may be prompted to enter that
passphrase again. If a passphrase is used with the keys, both Windows and
Linux clients provide methods to automate that as well. For Windows clients,
you can use the Pageant application. It runs in the background and makes
entering the passphrase transparent. For Linux clients, you can use the ssh-
agent. For setting up and using either of these applications, see the
documentation provided from that application.