I have an EC2
instace running Ubuntu 14
which I regularly connect to using SSH
.
Now I'm trying to connect to this instance using Remote Desktop from Windows, as shown here.
In the Login to xrdp
form, I typed "ubuntu" as the username, but I don't know what the password is. I've never messed with the password and never needed it. I have tried both "ubuntu" and ""
(blank) but got the same result:
xrdp_mm_process_login_response:login failed
Does anyone know what the default password of Ubuntu on EC2 is?
If it is either "Ubuntu"
or ""
then what causes the problem?
There is no password for the ubuntu user on the official Ubuntu AMIs. You can not ssh in with a password. You must associate an ssh keypair name when you start the instance if you want to ssh in to the instance.
There is no default user (and therefore no default password) on Ubuntu.
By default, in Ubuntu, the root account has no password set.
switch to root with:
sudo su -
Then run:
passwd ubuntu
It is going to prompt :
Enter new UNIX password:
So, set your password.
Not a solution to be precise, but an alternative solution is to login via SSH and create a new sudo
user with password.
Then use that user to login :)
Edit:
EC2 used SSH keypair authentication for user not password authentication for the user ubuntu
(default).
Set the password for your current logged in user using the command, passwd
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With