AWS Instance Password lost after Login
up vote
4
down vote
favorite
As the title suggested I have lost my Linux Instance password. I have already accessed it via putty and it's ppk key. But I don't remember the password of system.
Is there any another way to access the system again?
ssh amazon-web-services password putty aws-cli
add a comment |
up vote
4
down vote
favorite
As the title suggested I have lost my Linux Instance password. I have already accessed it via putty and it's ppk key. But I don't remember the password of system.
Is there any another way to access the system again?
ssh amazon-web-services password putty aws-cli
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
As the title suggested I have lost my Linux Instance password. I have already accessed it via putty and it's ppk key. But I don't remember the password of system.
Is there any another way to access the system again?
ssh amazon-web-services password putty aws-cli
As the title suggested I have lost my Linux Instance password. I have already accessed it via putty and it's ppk key. But I don't remember the password of system.
Is there any another way to access the system again?
ssh amazon-web-services password putty aws-cli
ssh amazon-web-services password putty aws-cli
edited Nov 5 at 13:28
hjpotter92
4101517
4101517
asked Nov 5 at 5:48
Shreeya
214
214
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
6
down vote
Your screenshot says "server refused our key". That means you don't have the private key for your instance. I'm not sure there is a password.
You can try something like this to mount the volume then reset the password / create a new key.
And the screenshot clearly shows that the login attempt is done asroot
. As long as root login with password was not enabled on purpose this will not work.
– hargut
Nov 5 at 18:05
add a comment |
up vote
4
down vote
As far as I know, there is no passwords set by default. Important is that you try to login with the correct user.
Depending on which AMI you selected this can vary. ec2-user
for AWS Linux, ubuntu
for Ubuntu, centos
for CentOS.
Actually, it's Linux Instance, and I forget the password as it was set by another person, and I want to recover the password now.
– Shreeya
Nov 5 at 7:06
add a comment |
up vote
3
down vote
If you feel that you cannot get access to system. You can create AMI of your instance, create a volume of that AMI and then create a new instance and mount that volume on new instance and recover the data.
New contributor
p.s. use ubuntu as default user with key.
– Epz
Nov 6 at 11:09
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
Your screenshot says "server refused our key". That means you don't have the private key for your instance. I'm not sure there is a password.
You can try something like this to mount the volume then reset the password / create a new key.
And the screenshot clearly shows that the login attempt is done asroot
. As long as root login with password was not enabled on purpose this will not work.
– hargut
Nov 5 at 18:05
add a comment |
up vote
6
down vote
Your screenshot says "server refused our key". That means you don't have the private key for your instance. I'm not sure there is a password.
You can try something like this to mount the volume then reset the password / create a new key.
And the screenshot clearly shows that the login attempt is done asroot
. As long as root login with password was not enabled on purpose this will not work.
– hargut
Nov 5 at 18:05
add a comment |
up vote
6
down vote
up vote
6
down vote
Your screenshot says "server refused our key". That means you don't have the private key for your instance. I'm not sure there is a password.
You can try something like this to mount the volume then reset the password / create a new key.
Your screenshot says "server refused our key". That means you don't have the private key for your instance. I'm not sure there is a password.
You can try something like this to mount the volume then reset the password / create a new key.
answered Nov 5 at 8:06
Tim
16.4k31846
16.4k31846
And the screenshot clearly shows that the login attempt is done asroot
. As long as root login with password was not enabled on purpose this will not work.
– hargut
Nov 5 at 18:05
add a comment |
And the screenshot clearly shows that the login attempt is done asroot
. As long as root login with password was not enabled on purpose this will not work.
– hargut
Nov 5 at 18:05
And the screenshot clearly shows that the login attempt is done as
root
. As long as root login with password was not enabled on purpose this will not work.– hargut
Nov 5 at 18:05
And the screenshot clearly shows that the login attempt is done as
root
. As long as root login with password was not enabled on purpose this will not work.– hargut
Nov 5 at 18:05
add a comment |
up vote
4
down vote
As far as I know, there is no passwords set by default. Important is that you try to login with the correct user.
Depending on which AMI you selected this can vary. ec2-user
for AWS Linux, ubuntu
for Ubuntu, centos
for CentOS.
Actually, it's Linux Instance, and I forget the password as it was set by another person, and I want to recover the password now.
– Shreeya
Nov 5 at 7:06
add a comment |
up vote
4
down vote
As far as I know, there is no passwords set by default. Important is that you try to login with the correct user.
Depending on which AMI you selected this can vary. ec2-user
for AWS Linux, ubuntu
for Ubuntu, centos
for CentOS.
Actually, it's Linux Instance, and I forget the password as it was set by another person, and I want to recover the password now.
– Shreeya
Nov 5 at 7:06
add a comment |
up vote
4
down vote
up vote
4
down vote
As far as I know, there is no passwords set by default. Important is that you try to login with the correct user.
Depending on which AMI you selected this can vary. ec2-user
for AWS Linux, ubuntu
for Ubuntu, centos
for CentOS.
As far as I know, there is no passwords set by default. Important is that you try to login with the correct user.
Depending on which AMI you selected this can vary. ec2-user
for AWS Linux, ubuntu
for Ubuntu, centos
for CentOS.
answered Nov 5 at 6:30
hargut
70916
70916
Actually, it's Linux Instance, and I forget the password as it was set by another person, and I want to recover the password now.
– Shreeya
Nov 5 at 7:06
add a comment |
Actually, it's Linux Instance, and I forget the password as it was set by another person, and I want to recover the password now.
– Shreeya
Nov 5 at 7:06
Actually, it's Linux Instance, and I forget the password as it was set by another person, and I want to recover the password now.
– Shreeya
Nov 5 at 7:06
Actually, it's Linux Instance, and I forget the password as it was set by another person, and I want to recover the password now.
– Shreeya
Nov 5 at 7:06
add a comment |
up vote
3
down vote
If you feel that you cannot get access to system. You can create AMI of your instance, create a volume of that AMI and then create a new instance and mount that volume on new instance and recover the data.
New contributor
p.s. use ubuntu as default user with key.
– Epz
Nov 6 at 11:09
add a comment |
up vote
3
down vote
If you feel that you cannot get access to system. You can create AMI of your instance, create a volume of that AMI and then create a new instance and mount that volume on new instance and recover the data.
New contributor
p.s. use ubuntu as default user with key.
– Epz
Nov 6 at 11:09
add a comment |
up vote
3
down vote
up vote
3
down vote
If you feel that you cannot get access to system. You can create AMI of your instance, create a volume of that AMI and then create a new instance and mount that volume on new instance and recover the data.
New contributor
If you feel that you cannot get access to system. You can create AMI of your instance, create a volume of that AMI and then create a new instance and mount that volume on new instance and recover the data.
New contributor
New contributor
answered Nov 5 at 8:50
Epz
311
311
New contributor
New contributor
p.s. use ubuntu as default user with key.
– Epz
Nov 6 at 11:09
add a comment |
p.s. use ubuntu as default user with key.
– Epz
Nov 6 at 11:09
p.s. use ubuntu as default user with key.
– Epz
Nov 6 at 11:09
p.s. use ubuntu as default user with key.
– Epz
Nov 6 at 11:09
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f938625%2faws-instance-password-lost-after-login%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password