Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

Beginners • Re: Can't SSH to my RPi 5

$
0
0

I am new to using Raspberry Pi 5 and I cannot seem to SSH into my pi. I have reinstalled image to verify my Pi user and password numerous times yet it never accepts my password. I am using Linux and try to log in using first `ip link show` to see the devices then run `nmcli device show enp0s20fu_ | grep IP4.ADDRESS`, `ssh pi@[IP ADDRESS]`. I then type my password (have made it the simplest of passwords just to get into it) and always get permission denied. Has this happened to anyone?


"Has this happened to anyone?"

Yes.

Lots of people.

As a search through 10+ years of archived posts in these forums will show.

It is caused by one of two errors -

Correct userid:password combination but wrong ssh server;

Correct ssh server but wrong userid:password combination.


when attempting to ssh into pi@<ip-address-B> it still does not work. The password doesn't work and when I go back to reflash and set up the settings again, the password I had to change was different than what I set it to.

That would be a curious user interface feature! How could an end-user possibly know what random password it had been changed to?

I suspect a misunderstanding.

How do you determine that the previous password has been changed? Raspberry Pi Imager, for example, does not display the password you configure, but shows a series of '*' characters.

How are you setting up the userid:password combination for your newly-installed OS? And are you really choosing to configure 'pi' as your own unique username?
I say it has been changed because the password I changed it to be a 2-character password but when I get permission denied and try to re-flash, I boot up Pi Imager and the password is greater than 2 characters. And yes, I can guarantee pi is the unique username because again, I've re-flashed multiple times and when my original username and password weren't working, I chose pi as my user and pi as my password to see if I could get it to work then.

Statistics: Posted by danb127 — Sun Jul 13, 2025 5:40 am



Viewing all articles
Browse latest Browse all 8093

Trending Articles