No it doesn't. Keeping both destroys the benefit of public key cryptography. The idea is that you can hand out the public key and never need share the private. On Aug 2, 2013 7:02 AM, "Antonio Petrocelli" <a.petroce...@netsons.com> wrote:
> This key must alreay be on the system... > > Only i need to retrieve it.... API wan't.... i need a different solution > > Thanks > > Il 02/08/2013 12:51, Wei ZHOU ha scritto: > > Antonio, > > For almost all clients, they do not want the provider storing the private > key (on management server). It is a big security risk for clients. > You have to store the key by yourself. > > -Wei > > > 2013/8/2 Antonio Petrocelli <a.petroce...@netsons.com> > >> Thanks a lot. >> >> It work. >> >> I'm unable to retrive PRIVATEKEY with API call: >> http://cloudstack.apache.org/docs/api/apidocs-4.1/domain_admin/listSSHKeyPairs.html >> >> the only way to retrieve is from: >> http://cloudstack.apache.org/docs/api/apidocs-4.1/domain_admin/createSSHKeyPair.html >> >> but i don't want store this key... >> >> Do you now how i can retrieve it? >> >> Thanks. >> >> Regards. >> >> Il 01/08/2013 16:47, Harikrishna Patnala ha scritto: >> >> Yes the password is encrypted with public key of ssh key pair assigned to >> the guest VM during deployment. >> We can decrypt it using the private key of that key pair. >> >> -Harikrishna >> >> On 01-Aug-2013, at 3:13 AM, Chiradeep Vittal >> <chiradeep.vit...@citrix.com<mailto:chiradeep.vit...@citrix.com> >> <chiradeep.vit...@citrix.com>> wrote: >> >> Isn't this encrypted with the ssh keys of the user? (createSshKeyPair) >> >> From: Antonio Petrocelli >> <a.petroce...@netsons.com<mailto:a.petroce...@netsons.com> >> <a.petroce...@netsons.com>> >> Reply-To: <dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> >> <dev@cloudstack.apache.org>> >> Date: Tuesday, July 30, 2013 2:46 AM >> To: <dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> >> <dev@cloudstack.apache.org>> >> Subject: [4.1] getVMPassword > how to decrypt >> >> Hello, >> http://cloudstack.apache.org/docs/api/apidocs-4.1/domain_admin/getVMPassword.html >> >> after retrieved the password i'm unable to decrypt the encryptedpassword. >> >> Suggestions? >> >> Thanks. >> >> Regards. >> -- >> >> <netsons-logo-email.png> >> >> Supernova s.r.l. >> Via G. Misiticoni, 3 >> 65126 - Pescara >> ITALY >> www.netsons.com<http://www.netsons.com/> <http://www.netsons.com/> >> Antonio Petrocelli >> Software Engineer >> >> >> t. (+39) 085 45 100 52 >> e. a.petroce...@netsons.com<mailto:a.petroce...@netsons.com> >> <a.petroce...@netsons.com> >> >> >> <btn_viewmy_160x25.png><http://it.linkedin.com/pub/antonio-petrocelli/18/611/619> >> <http://it.linkedin.com/pub/antonio-petrocelli/18/611/619> >> >> >> Netsons® è un marchio registrato dalla Supernova s.r.l. >> >> Le informazioni trasmesse sono riservate alla persona o alla società >> indicata come destinatario, e possono includere contenuti considerati >> confidenziali. Ogni elaborazione, comunicazione, trasmissione o altro >> utilizzo, anche azioni conseguenti alla conoscenza di queste informazioni da >> parte di chiunque non sia espressamente indicato come destinatario è >> proibita. Nel caso abbiate ricevuto per errore questa comunicazione, siete >> pregati di darne avviso a info [at] netsons.com<http://netsons.com> >> <http://netsons.com> ed eliminare ogni stampa ed ogni traccia informatica. >> Il ricevente dovrà inoltre accertarsi che gli eventuali allegati non >> contengano virus prima di aprirli. Qualunque opinione o affermazione >> presentata in questo messaggio è da ritenersi propria dell'autore e non >> rappresenta necessariamente la posizione della Societ&agr >> ave;. >> >> The information transmitted is intended only for the person or entity to >> which it is addressed and may contain confidential material. Any review, >> retransmission, dissemination or other use of, or taking of any action in >> reliance upon this information by persons or entities other than the >> intended recipient is prohibited. If you received this in error, please >> contact: info [at] netsons.com<http://netsons.com> <http://netsons.com> and >> delete the material from any computer. If this email contains attachments >> you should ensure they are checked for viruses before opening them. Any >> views or opinions presented are solely those of the author and do not >> necessarily represent those of the company. >> >> >> >