Note that there are some explanatory texts on larger screens.

plurals
  1. POAWS EC2 forgot password and not able to use SSH
    primarykey
    data
    text
    <p>I have an ec2-ubuntu instance. And now I forgot the password for the user. Unfortunately i've also lost the .pem file and .ppk file i used to use with putty. And finding it difficult to get in. I want to upgrade some code of mine in that. </p> <p>I've gone through following links giving suggestions as to what can be done.</p> <ol> <li><p><a href="http://readystate4.com/2013/04/09/aws-gaining-ssh-access-to-an-ec2-instance-you-lost-access-to/" rel="nofollow noreferrer">aws-gaining-ssh-access-to-an-ec2-instance-you-lost-access-to</a></p></li> <li><p><a href="https://stackoverflow.com/questions/3260739/add-keypair-to-existing-ec2-instance/3269279#3269279">add-keypair-to-existing-ec2-instance</a></p></li> <li><p><a href="http://www.vlent.nl/weblog/2010/09/06/locked-myself-out-root-account-ec2-ubuntu-instance/" rel="nofollow noreferrer">locked-myself-out-root-account-ec2-ubuntu-instance</a></p></li> <li><p><a href="http://alestic.com/2011/02/ec2-fix-ebs-root" rel="nofollow noreferrer">ec2-fix-ebs-root</a></p></li> </ol> <p>I've additional constraint that the private i/p address of system should not change.One of the software I'm using uses system private i/p address for license. And currently my instance has only one volume and is root volume.</p> <p>Based on the links mentioned above, I need to detach my volume and attach to other instance. Make required changes for access. And the reattach to original instance. However since the volume in my case is root volume, I need to stop the instance and then detach it. If my understanding is correct, this can cause change in private i/p address of instance.</p> <p>Would like to know if there is some thing that can be done? Or following the steps mentioned in links is the only way and then update s/w license on instance restart?</p> <p>thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload