Hacking Cloud VM to use User password to Login
Most of cloud image use key-pair to login. It's really hard for a beginner.
There is a way to hack the cloud image to login with usual user and password without keypairs.
This is a greate tool for me.
Hacking the Cloud VM
Download backdoor-image
$bzr branch lp:~smoser/+junk/backdoor-image
You might need to install bzr
through apt-get install bzr
.
Into backdoor-image folder
$cd backdoor-image
Download a Ubuntu cloud image
$ wget http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img
cp image to a backup image
$cp precise-server-cloudimg-amd64-disk1.img ubuntu12.04-server-cloudimg-amg64-disk1.img
Set the user and password to the cloud image
$./backdoor-image --user ubuntu --password ubuntu --password-auth ubuntu12.04-server-cloudimg-amg64-disk1.img
No comments:
Post a Comment