Submitted by Exoware on Thu, 10/01/2009 - 07:03
It is impossible to add *just* a public key without first generating a private/public keypair.
Also, when I've added a public key, it fails to get inserted into most system images due to the following error:
Adding extra authorized SSH keys ..
.. some failed : cp: cannot create regular file `/mnt/xen-testing/root/.ssh/authorized_keys': No such file or directory
Perhaps ensure the .ssh directory exists?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 10/01/2009 - 11:32 Comment #1
That's surprising, as the current code does check for and create .ssh if needed.
Is the root user's home directory actually /root on this virtual system? If so, does it have a .ssh sub-directory?
Submitted by Exoware on Thu, 10/01/2009 - 12:13 Comment #2
It is, but it doesn't have .ssh - this is the default Cloudmin 64-bit Xen CentOS 5.3 image.
Submitted by JamieCameron on Thu, 10/01/2009 - 13:03 Comment #3
I just tried this by creating an image without a .ssh directory, and it was created just fine as part of the setup process..
Which Cloudmin version do you have there?
Submitted by Exoware on Thu, 10/01/2009 - 14:45 Comment #4
Regarding our IM conversation etc... The fixed RPM you gave me doesn't seem to have touched the problem, as it seems like it's back at square one with the original issue.
Submitted by JamieCameron on Thu, 10/01/2009 - 17:05 Comment #5
Fixed in the new RPM I sent, and in the next Cloudmin release.
Submitted by Issues on Fri, 10/16/2009 - 01:20 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.