Previous Topic: Generate a Host Public Key for the SSH ServiceNext Topic: Prerequisites for Accessing the E4800/4900/6800/6900 System Controller


Install an SSH User Public Key

The SSH keys must be generated on the AM remote agent system and installed on the XSCF. You must perform the following prerequisites for accessing the XSCF:

  1. Use the ssh-keygen command to set up the SSH keys on the AM remote agent machine. Once the SSH keys are set up, the agent uses SSH and accesses the XSCF to collect the relevant inventory information.

    Note: The SSH package is not installed by default on Solaris 8 or later; you can download it from the http://www.openssh.org/ site.

  2. As a root user, run ssh-keygen on the agent machine.

    This generates two keys—a private key and a public key. These keys are stored in ~/.ssh/ id_rsa and ~/.ssh/id_rsa.pub.

  3. Use setssh to add the contents of the public key file (~/.ssh/id_rsa.pub) to the intended asset management user, uamuser, on the XSCF. Then copy-and-paste the user public key, which was made in Step 2. After pressing the Enter key, press the “Ctrl” and “D” keys to complete the installation.
    XSCF> setssh -c addpubkey -u uamuser
    
  4. Use the showssh command to confirm the uamuser public key has been installed on the XSCF:
    XSCF> showssh -c pubkey -u uamuser
    

    Now you can use SSH to log in to the system controller without being prompted for a password.