Ok how i ssh in the pihole now

ssh pi@xx
Please note that SSH may not work until a valid user has been set up.

See http://rptl.io/newuser for details.
pi@xx Permission denied (publickey)

i was managing a pi hole on a remote location via cloudflared and i got hit with that, ok how i ssh in this thing now? how i set a user remotely?

This is an OS level issue, not a Pi-hole one.

You'd need to consult your OS documentation and support on how to properly enable and configure ssh access.

1 Like

Have a look to the cited page http://rptl.io/newuser on "An update to Raspberry Pi OS Bullseye" and especially further down on " Headless setup".

And yes that's not a Pi-hole, but an operating system topic.

so there is no to do anything to update pihole since there is no way to ssh into it

SSH is OS level, as @Bucking_Horn mentioned. Pi-hole is just an application, that has a CLI, and a Web interface. You do not SSH into Pi-hole itself. To use the Pi-hole CLI, you either need a terminal connected to the machine hosting Pi-hole, or SSH access to that machine.

thats is irrelevant when I just need to update pihole

Good luck, then…

1 Like

Pihole doesn't affect your ability to connect via SSH, all it does it resolve domain names. Your solution will be found by determining why you can't use SSH; that's something going on with your Pi OS.
Pihole doesn't have any way to set up, change, edit, or manipulate a valid user on your remote system.

then dont require SSH terminal to update, duh, if u dont take responsibility on how the OS behave dont rely on the OS to update

How did you install Pi-hole? Normally that requires terminal access to the host OS.

If you can't ssh into your host OS, hook up a keyboard and monitor to the device and access the terminal directly without requiring ssh.

2 Likes

then dont require SSH terminal to update, duh, if u dont take responsibility on how the OS behave dont rely on the OS to update

That's a pretty silly take.

You have a remote system for which user authentication isn't properly set up, and this is an application's responsibility?

Is it also Pihole's scope to assure you can list a file directory? Because after all you need to interact with the files for the application to work.

Like @jfb said, you had to setup the OS before you installed Pihole. If the system isn't located where you can add a keyboard/monitor, you will have to do what everyone else does when they're repairing a system from a remote location -- figure it out.

2 Likes