Registering a host using SSH
To succeed, the following statements about the login account used to perform this procedure must be true:
- The account exists on both the master host and on the delegate host.
- The account has serviced CLI privileges.
- The account has either public key authentication or password authentication enabled on the master host and on the delegate host.
Use this procedure to create the authentication credentials that delegate hosts require, and to register the credentials through an SSH connection.
Perform the following steps on the Control Center master host, and then repeat the steps on each delegate host in your deployment.
- Gain access to the Control Center host, through the console interface of your hypervisor, or through a remote shell utility such as PuTTY.
Start a command-line session as root.
The menu is replaced by a command prompt similar to the following example:
- In the Appliance Administration menu, select Root Shell.
- Select Run, and then press Enter.
Display the host IDs of all Control Center hosts.
serviced host list | cut -c-85The host ID is in the first column of the output.
Create authentication credentials for a delegate host and register the
If the master and delegate host are configured for key-based access, the following command does not prompt you to add the delegate to the list of known hosts or to provide the password of the remote user account.Replace Host-ID with the host ID of a delegate host:
serviced key reset --register Host-ID
- For each delegate host in your deployment, repeat the preceding step to create and register authentication credentials.