MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

After change main username of EC2 Instance i am not able to login to shell

0
Started on: 25 January 13
Participants: 1
By mistake i renamed the main user's username and then i can not able to login with the new username.

I used "imported-openssh-key" passphrase.

so after i used the existing Passphrase cannot access.

Please help me

This can be fixed by creating new instances ?

Thanks in advance










By mistake i renamed the main user's username and then i can not able to login with the new username.

I used "imported-openssh-key" passphrase.

so after i used the existing Passphrase cannot access.

Please help me

This can be fixed by creating new instances ?

Thanks in advance

This challenge is listed under Cloud Computing and Development & Implementations Community

Related Posts:

Amazon Web Services (AWS) Import/Export

 

Amazon Elastic Compute Cloud (Amazon EC2)

 

Initiator

1 Suggestion

  1. 28 January 13
    0

    Hi TechWay,

    Try the below 7 steps carefully and will solve your issue

    1. First create New Instance
    2. Stop old Instance.
    3. Detach your existing volume that used in old instance
    4. Attach that old volume to New Instance as Secondary volume (so 2 volumes for New Instance) device path (/dev/sda2)
    5. Now SSH to New Instance using Putty
    6. And then Mount the old instance volume (dev/sda2) to New Instance Path (/mnt or path of the new website)
    7. Now you can restore your data and stop the old instance .

    Mount command like below

    # sudo mount /dev/sda2 /mnt /dev/sda2 is the broken instance path, /mnt is temparory insatnce path

    You should now be able to get into the broken instances filesystem and attempt a repair or data recover to the new working instance.

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top