You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by John Adams <ad...@gmail.com> on 2017/02/08 12:14:48 UTC

Giving Users SSH Access to VMs

Hello,

Just managed to setup version 4.9.2.0 with various Ubuntu 14.04 KVM hosts.
In the release notes for v 4.6 there's a mention of being able to generate
ssh-keys from the Web UI  but there's no mention of this in the
administration documentation, or unless I'm not looking hard enough.

Also is it possible to add a user's public key into an already provisioned
virtual machine?

--John O. Adams

Re: Giving Users SSH Access to VMs

Posted by John Adams <ad...@gmail.com>.
Hi there Rene,

It's under the account, there is a dropdown which contains the "SSH key
pairs". If you select it, you will get into a view and on the right hand
side you find the button to generate the keys.
Opips: Yes I saw it, and I have been able to add!. It's well hidden though
lol.

(hmm seems there is no way to upload existing keys in the UI, is there any?)
Opips: I would imagine it's the same way. As from the pop-up dialog, if the
key you paste in has no public key, it generates a new key pair altogether.
The caveat is that, the template from which the VM was provisioned from
must have been configured to support ssh-key Authentication. Working on
this then will get back on the outcome.

Yes, but the VM has to be stopped, in the VM detail view, second icon
from right "reset ssh key pair"
Opips: Nice!! I saw it :)


--John O. Adams

On 8 February 2017 at 15:37, Rene Moser <ma...@renemoser.net> wrote:

> Hi John
>
> On 02/08/2017 01:14 PM, John Adams wrote:
> > Hello,
> >
> > Just managed to setup version 4.9.2.0 with various Ubuntu 14.04 KVM
> hosts.
> > In the release notes for v 4.6 there's a mention of being able to
> generate
> > ssh-keys from the Web UI  but there's no mention of this in the
> > administration documentation, or unless I'm not looking hard enough.
>
> It's under the account, there is a dropdown which contains the "SSH key
> pairs". If you select it, you will get into a view and on the right hand
> side you find the button to generate the keys.
>
> (hmm seems there is no way to upload existing keys in the UI, is there
> any?)
>
> >
> > Also is it possible to add a user's public key into an already
> provisioned
> > virtual machine?
>
> Yes, but the VM has to be stopped, in the VM detail view, second icon
> from right "reset ssh key pair"
>
> René
>

Re: Giving Users SSH Access to VMs

Posted by Rene Moser <ma...@renemoser.net>.
Hi John

On 02/08/2017 01:14 PM, John Adams wrote:
> Hello,
> 
> Just managed to setup version 4.9.2.0 with various Ubuntu 14.04 KVM hosts.
> In the release notes for v 4.6 there's a mention of being able to generate
> ssh-keys from the Web UI  but there's no mention of this in the
> administration documentation, or unless I'm not looking hard enough.

It's under the account, there is a dropdown which contains the "SSH key
pairs". If you select it, you will get into a view and on the right hand
side you find the button to generate the keys.

(hmm seems there is no way to upload existing keys in the UI, is there any?)

> 
> Also is it possible to add a user's public key into an already provisioned
> virtual machine?

Yes, but the VM has to be stopped, in the VM detail view, second icon
from right "reset ssh key pair"

Ren�