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?
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.
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
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.