I have an instance in my account that I can login to ssh with port 27891. When I clone it ( make an image and from an image a server) I can´t access it with the password Rackspace gave me to root.
I´ve tried with port 22 and with port 27891 and neither work.
I´ll appreciate help!!
Thanks..
Cloned servers don't have the same password. You'll need to grab the admin password either from the UI or the API you're using. If you need to, you can always change the password as well:
On the other hand, I highly recommend using SSH keypairs with Rackspace boxes. You'll need to use the API (or one of the SDKs), but it makes it much easier to manage the boxes. Additionally, the
authorized_keys
file will be on each of the cloned images.Example cloning code, using pyrax (the Python library for Rackspace):
Within each of the created machines, the generated credentials are in
base_server.adminPass
andclone_server.adminPass
. To access the box, usebase_server.accessIPv4
andclone_server.accessIPv4
.However, I highly recommend using SSH keypairs.