Wrong password

December 19, 2023, 12:54

jbziscool

Hey all, i've been trying to login to my pi (I installed ubuntu server on it), i have an ethernet cable going into it and it seems to only be still red, no green light I have tried sshing into it with username and password ubuntu and it says incorrect Right now I am re flashing it

jbziscool

model 4b btw

oops.se

With no Green LED blinking = No boot and activity thereafter. How do you imaging the SD card?

jbziscool

with balenaetchr and with ubuntu-22.04.3--server-arm64

null

Could it be that you have downloaded ubuntu-22.04.3-live-server-arm64.iso?

jbziscool

ubuntu-22.04.3-preinstalled-server-arm64+raspi.img.xz

jbziscool

I've tried that

oops.se

Then you have a faulty SD card, SD card reader. Try to make a bootable USB flash drive

jbziscool

I've done this and now when I try and ssh I get this
ssh ubuntu@xxx.xxx.x.xx
ubuntu@xxx.xxx.x.xx: Permission denied (publickey).

jbziscool

after a couple minutes its just a red lightr

oops.se

You need to edit the ssh setting: sudo nano /etc/ssh/sshd_config And look for the row #PasswordAuthentication yes and remove the #. And now restart the ssh server sudo systemctl restart sshd

jbziscool

im on windows

null

But did you give it the username and hostname in the imager? Did you choose your image or one from the list?

jbziscool

one from the list

null

Did you enter the hostname with .local ? if so try it without. Otherwise try it with IP instead of hostname.

oops.se

And sometimes you need to hockup a display/keyboard to get it working

jbziscool

ima take it to my pc shop tmr, thanks though guys!