<html><body><div style="font-family: trebuchet ms,sans-serif; font-size: 10pt; color: #000000"><div><p style="margin: 0px;" data-mce-style="margin: 0px;">I've been working on integrating some external components with the econe server, which requires a generated keypair to be created for a user that will be accessing the cluster. I'm having difficulty however with the keypairs/fingerprints that are generated:</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;">I do the following:</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;">econe-create-keypair -U <url of econe-server> -K <user> -S <hashed password> testkey</p><p style="margin: 0px;" data-mce-style="margin: 0px;">which creates the keypair and provides a private key as output:</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">-----BEGIN RSA PRIVATE KEY-----</span><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">blahblahblahblahblah</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">-----END RSA PRIVATE KEY-----</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></br></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><strong>with a fingerprint of:</strong> <span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">83:87:b1:b5:e7:91:a9:49:10:a4:ad:3a:0c:8c:8b:7f</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></br></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;">However, I create a public key from this private key and the fingerprint does NOT match the above:</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"><strong>oneadmin@opennebula:~/.ssh$</strong> ssh-keygen -y -f testkey > testkey.pub</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"><strong>oneadmin@opennebula:~/.ssh$</strong> ssh-keygen -lf testkey.pub</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"></span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"><br></span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">2048 f0:c8:68:e0:47:bb:79:52:43:7e:f3:0b:a4:67:78:9a testkey.pub (RSA)</span></p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p style="margin: 0px;" data-mce-style="margin: 0px;">This is what the third-party application (Jenkins) is telling me when I attempt to attach the private key (the fingerprints do not match)</p><p style="margin: 0px;" data-mce-style="margin: 0px;"><br><span style="font-family: 'trebuchet ms', sans-serif;">Am I doing something wrong? Should the fingerprint of the provided private key match the fingerprint listed on econe-create-keypair?</span></p></div><div><br></br></div><div><span name="x"></span><div class="WordSection1"><div class="MsoNormal" align="center" style="text-align:center" data-mce-style="text-align: center;"><hr size="2" width="100%" align="center"></div><div><p class="MsoNormal"><b><span style="font-size:10.0pt;mso-fareast-font-family:
"Times New Roman"" data-mce-style="font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman';">Bill Campbell</span></b><span style="font-size:10.0pt;
mso-fareast-font-family:"Times New Roman"" data-mce-style="font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman';"><br> Infrastructure Architect<br style="mso-special-character:line-break" data-mce-style="mso-special-character: line-break;"> <br style="mso-special-character:line-break" data-mce-style="mso-special-character: line-break;"> </span><span style="mso-fareast-font-family:"Times New Roman"" data-mce-style="mso-fareast-font-family: 'Times New Roman';"></span></p></div><div><br></div><p class="MsoNormal"><span style="font-size:10.0pt;mso-fareast-font-family:"Times New Roman"" data-mce-style="font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman';"><span size="2" face="trebuchet ms, sans-serif">Axcess Financial Services, Inc.<br> 7755 Montgomery Rd., Suite 400<br> Cincinnati, OH  45236</span></span></p></div><span name="x"></span><br></div></div>
<br><html><body><b>NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.</b></body></html>

<br></body></html>