Is there any API available for SSH key pair in opennebula 5.0 using xml rpc?

Is there any API available for SSH key pair in opennebula 5.0 using xml rpc?

surya opennebula@discoursemail.com writes:

Is there any API available for SSH key pair in opennebula 5.0 using xml rpc?

Hello,

I do not understand what you mean by “API available for SSH key pair”,
can you describe a little bit what you want to achieve?

Regards.

Hello,
We were looking for xml rpc api to create a ssh key pair for an user similar to the command (oneuser key)?

Hi,

oneuser key operates locally in the local .ssh directory of the user, it does not have an XMLRPC counterpart.

surya opennebula@discoursemail.com writes:

Hello,

Hello,

We were looking for xml rpc api to create a ssh key pair for an user similar to the command (oneuser key)?

I hope I understood correctly:

  1. the SSH key pair must be created by the user itself, with ssh-keygen for example

  2. then the user configure it’s public key in Sunstone

  3. When a VM start and has SSH contextualisation enabled, the user can
    connect to the VM with it’s SSH key.

I do not think it’s the role of ONE to generate a key pair for a user.

Regards.