cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
981
Views
4
Helpful
2
Replies
Highlighted
Cisco Employee

How to find key pair generated by CCM to have direct access to VM?

Hello Folks,

Looking for information regarding key pair created by CCM on Cloud such as Openstack or AWS for instance.

Following question about this topic:

1 - Key pair usually is being created by CCM for Openstack and AWS Clouds. How can I extract .PEM file from CCM to have direct access to VM through SSH CLI?

2 - By default, CCM created key pair's name as "cliqr-user-key_X" where X should be for my understanding userid on CCM. Is that right?

Thanks,

Adilson

2 REPLIES 2
Highlighted
Beginner

Adilson, the SSH keys used to deploy the VMs are unique per user and per cloud region. A given user's SSH keys for all regions can be pulled from the API:

https://{{ccm}}/v1/users/{{userId}}/keys

You will then need to look for the key that goes with the region of your deployment.

For your second question, yes, the x in cliqr-user-key-x is their CloudCenter user id.

See this page for more:

View User's Keys - API - CloudCenter Docs

Michael

Highlighted
Cisco Employee

Adilson,

Please read this document to find my responses to your questions. Please provide feedback where appropriate: CloudCenter Core Fundamentals: Obtaining a user's private key

Tuan

Content for Community-Ad

This widget could not be displayed.