CCM_SA_PRIMARY/SECONDARY – Exchange CCM SSH Keys

To exchange the SSH keys between the CCM_SA_PRIMARY and CCM_SA_SECONDARY servers, follow this procedure using root permissions.

  1. On the CCM_SA_PRIMARY and the CCM_SA_SECONDARY instances, execute the following commands to generate a new SSH key on each instance. 

    ssh-keygen -t rsa
    cd ~/.ssh
    cat id_rsa.pub >> authorized_keys
    chmod 600 authorized_keys
  2. Copy the id_rsa.pub content from both the CCM instances and paste the content into the authorized_keys file.

  3. Verify mutual SSH access between the CCM_SA_PRIMARY and CCM_SA_SECONDARY by running the following command on each VM.

    ssh root@<CCM_SA_PRIMARY/CCM_SA_SECONDARY>
  • No labels
© 2017-2019 Cisco Systems, Inc. All rights reserved