Hello, Jordan

In ACS, it is possible to add a host using a username and a certificate by
executing the addHost API without specifying the password attribute. This
way, CloudStack will attempt to connect to the host using the dynamically
created certificate available at: /var/lib/cloudstack/management/.ssh/. It
is necessary to configure the host in advance to accept connections using
this certificate.

Best regards,
Rodrigo

Em seg., 5 de ago. de 2024 às 11:50, jordan j <[email protected]>
escreveu:

> Hey Alex,
>
> Yes that is correct, I see the option in the GUI and when used all works
> but I fail to find the command line alternative.
>
> Regards,
> Jordan
>
> On Mon, Aug 5, 2024 at 5:37 PM Alex Dietrich <[email protected]
> .invalid>
> wrote:
>
> > Rohit,
> >
> > I think Jordan is referring to the KVM Host add process. Per the API
> > documentation for addHost, it requires username and password and does not
> > appear to support using SSH keys.
> >
> > Am I correct in my understanding of your question Jordan?
> >
> > Thanks,
> > Alex
> >
> > [photo]<http://www.ussignal.com/>
> >
> > Alex Dietrich
> > Senior Network Engineer, US Signal
> >
> > 616-233-5094<tel:616-233-5094>  |  www.ussignal.com<
> > https://www.ussignal.com>  |  [email protected]<mailto:
> > [email protected]>
> >
> > 201 Ionia Ave SW, Grand Rapids, MI 49503<
> >
> https://maps.google.com/?q=201%20Ionia%20Ave%20SW,%20Grand%20Rapids,%20MI%2049503
> > >
> >
> > [linkedin]<https://www.linkedin.com/company/us-signal/>
> >
> > [facebook]<https://www.facebook.com/ussignalcom/>
> >
> > [youtube]<https://www.youtube.com/channel/UCaFBGFfXmHziWGTFqjGzaWw>
> >
> > IMPORTANT: The contents of this email are confidential. Information is
> > intended for the named recipient(s) only. If you have received this email
> > by mistake, please notify the sender immediately and do not disclose the
> > contents to anyone or make copies thereof.
> >
> > [__tpx__]
> > From: Rohit Yadav <[email protected]>
> > Date: Monday, August 5, 2024 at 10:34 AM
> > To: [email protected] <[email protected]>
> > Subject: Re: Join KVM host from CLI using only user and certificate
> > EXTERNAL
> >
> > Hi Jordan,
> >
> > For the CLI (cmk), we support either username-password based
> > authentication or API-secret key based authentication.
> >
> > Certificate-based (mtls) authentication feature is unavailable.
> >
> >
> > Regards.
> >
> >
> >
> >
> > ________________________________
> > From: jordan j <[email protected]>
> > Sent: Monday, August 5, 2024 19:42
> > To: [email protected] <[email protected]>
> > Subject: Join KVM host from CLI using only user and certificate
> >
> > Hello everyone,
> >
> > I was exploring the host section of the CMK API reference but could not
> > find a way to add a host (KVM one) to Cloudstack using user + certificate
> > instead of user + password. Is such feature available?
> >
> > Best regards,
> > Jordan
> >
>

Reply via email to