cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre-Luc Dion <pd...@cloudops.com>
Subject Re: Reset ssh key
Date Tue, 22 Nov 2016 14:01:16 GMT
Hi Tolga,

I'm not sure it as been raised as a bug but yes, when you reset the SSHkey
of a VM it also reset the user password. So I guest it's up to your
templates to support one auth method or both.

Are you using cloud-init or scripts defined in the CloudStack documentation
?

Regards,





> It’s possible a misunderstanding on my part – but how do you generate the
> SSH keys?
>
> If you do this from the CloudStack GUI: home > accounts > (accountname) >
> (username) and click on the “generate keys” button – this does not generate
> SSH keys, this generates the API + secret key for that user. To generate
> and upload SSH keys please refer to http://docs.cloudstack.apache.
> org/projects/cloudstack-administration/en/4.8/virtual_machines.html
>
> If you do follow this already – my apologies for the misunderstanding.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 22/11/2016, 09:29, "Semih Tolga DEMİR" <semihtolgademir@gmail.com>
> wrote:
>
>     Hi,
>
>     I see this issue when adding new SSH Key Pair  to existing VM
>
>     Creating a new SSH Key
>     Accounts -> Create a SSH Key Pairs as tolga
>     Then
>     Create a VM without ssh key selection.
>     After login he VM with XXXXX password
>     Then shutdown VM
>     Reset SSH Key Pair
>     Select new ssh key (like tolgaSSH)
>     Password of the VM has been reset to YYYYY
>     Finally now i login with YYYYY.
>
>
>     Creating a new SSH Key
>     Accounts -> Create a SSH Key Pairs as tolga and tolgaSSH
>     Then
>     Create a VM with ssh key selection (like tolga)
>     After login he VM with XXXXX password
>     Then shutdown VM
>     Reset SSH Key Pair
>     Select new ssh key (like tolgaSSH)
>     Password of the VM has been reset to YYYYY
>     Finally now i login with YYYYY.
>
>     But i want only add/reset SSH Key Pair.
>
>     Thanks,
>     Tolga
>
>
>     2016-11-21 20:38 GMT+03:00 Dag Sonstebo <Dag.Sonstebo@shapeblue.com>:
>
>     > Hi Tolga,
>     >
>     > Can you elaborate? Which SSH keys / passwords are we talking about?
>     >
>     > Regards,
>     > Dag Sonstebo
>     > Cloud Architect
>     > ShapeBlue
>     >
>     > On 21/11/2016, 16:43, "Semih Tolga DEMİR" <semihtolgademir@gmail.com
> >
>     > wrote:
>     >
>     >     Hi,
>     >
>     >     My test environment ACS 4.9, KVM hypervisor.
>     >     I want to understand why need to reset password when add/reset
> ssh key
>     > ?
>     >
>     >     Thanks,
>     >     Tolga
>     >
>     >
>     >
>     > Dag.Sonstebo@shapeblue.com
>     > www.shapeblue.com
>     > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
>     > @shapeblue
>     >
>     >
>     >
>     >
>
>
>
> Dag.Sonstebo@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message