13

I've just installed Ubuntu Server on my Raspberry Pi 2 B and the download page says that the default username and password are both "ubuntu", but the system says that the password is incorrect. What's wrong?

1
  • Have you tried pressing ENTER without entering a password? – mchid Dec 30 '19 at 17:27
31

I found that it takes a few minutes after it boots for Ubuntu on the Pi to create the 'ubuntu' user and its password.

I searched for a solution and found this question. The existing answer was no help. When I went back, some text had come up on the console about cloud init and SSH keygen. I tried again, and ubuntu:ubuntu worked!

3
  • 3
    I had this very issue with my raspberry-pi. After several unsuccessful tries login in, and without having done any change at all, just out of the blue I was able to login. – emdio May 10 '20 at 9:13
  • 2
    Thank you!! Waiting a while until it is created indeed solved this – tibi3000 May 22 '20 at 20:19
  • 1
    Agreed. If you wait for a while after the login prompt with a monitor attached, you'll see it start to print SHA fingerprints, etc. After these are printed, the login works. – M1GEO Jan 8 at 18:34
9

Try these:

1) You can SSH into the Pi 4 with:
User: ubuntu
Pass: ubuntu

* It will then ask for new password. *
This only works if you have ethernet cable connected.

Source: https://www.raspberrypi.org/forums/viewtopic.php?t=254649

2) and try ..has the default username pi and default password raspberry

3) The default password is root which you can easily change once you are booted into the Pi by running 'passwd' command. Source: https://www.linux.com/tutorials/getting-started-raspberry-pi-2-install-linux-and-access-ssh/

1
  • The question states that he cannot log in with ubuntu:ubuntu on first boot. Your answer for him to log in with ubuntu:ubuntu does not work for him. – Cliff May 12 '20 at 18:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.