I'd really appreciate any support.guidance you can provide because I've been searching for a fix for over a day, can can't find anything that works!
Expected Behaviour:
Password is accepted and I'm aget to get SSH access to allow me to setup Pihole. I tried using the new password I created using the imager and "raspberry", but got the same error using both.
Pi Models:
Pi 4 model B
Pi 3 model B
Installer/OS: Raspberry Pi Imager v1.7.3 / Raspberry Pi OS Lite (64-Bit) Imager Settings:
Enabled hostname: as - pihole
Enabled SSH / User password authentication
Setup username & pswd thru imager settings as: pihole/ xxxxx (Changed the username from the default pi - as per the April 5th Pi notification)
Actual Behaviour:
I'm getting the error message Permission denied, please try again (CMD) & Access denied (PuTTY) when prompted to enter password when trying to ssh into my pi(s). The issue happens on both raspberry my pi's. I've also tried using two SD cards.
I understand that, however; I've used the password I created via the imager and the default "raspberry" password and they're not working. There must be a workaround to setup a new password or get access in this situations.
Am I using the correct raspberry default for pi OS lite?
Is there a way to wipe the password & create a new one?
Writing the image afresh would be the easiest approach.
There may be ways to reconfigure ssh, but only if you can access your RPi via other means than ssh, e.g. if you have a keyboard and a screen attached to it.
As this isn't a Pi-hole issue, you also may want to consider consulting other forums specialising in RPis for a solution.
You could try attaching a keyboard and HDMI display (eg TV) and booting it and seeing if it takes you to a logged-in terminal. If so then you can change your password with the passwd command. However if not then yes a reimage is probably easiest. You can set the username as pi and select a password and enable ssh directly in the Pi Imager software when you write the image, by clicking the cogwheel icon in the bottom right after selecting your image.
Note that the ssh password for the OS, and the Pi-hole web admin interface password, are two separate passwords. The first is set when you enable ssh and the user (eg the pi username). The second is created by the Pi-hole installer (and can be changed by you if desired) and used to access the Pi-hole admin screen in a browser.
Hmm, I haven't read it, but then could your World’s Greatest Pi-hole (and Unbound) Tutorial be missing a step maybe?
You should probably contact the author of that tutorial for help as well.