How to disable SSH password auth on Ubuntu Server (22.10)

Ubuntu Server has some garbage defaults, at least for certain installation options, that prevents you from disabling password auth the standard way. Normally, which you still have to do, disabling password auth is done in /etc/ssh/sshd_config by changing PasswordAuthentication from yes to no: PasswordAuthentication no Make sure it isn't also set to yes in that same file. But on Ubuntu Server, at least if you enable sshd as part of the installation process and without importing a key for any reason, they add a file that prevents this.

What I learned after using pihole for a week

In all fairness, it has been more than a week, but due to messing around with logging and accidentally clearing it a few times (whoops!), I didn't have a week worth of data until yesterday. For the past week, I've been tinkering a bit with Pi-hole, including working with stuff there's no official guides for. There's quite a few things I noticed while messing around with Pi-hole, so I figured I'd write a post about it.

Setting up SSL with pihole, without a FQDN

Introduction This post aims to present an alternative way to generate SSL certificates for your pihole web interface. This is specifically targeted at people without a FQDN (Fully Qualified Domain Name), regardless of whether pihole is hosted locally or on a VPS. Note that this has only tested on a locally hosted pihole instance, running on a Raspberry Pi 3B+. As usual, apply common sense before running commands from strangers on the internet - just because it worked on my system, doesn't necessarily mean it'll work in general.

Linux does not boot past the splash screen with a NVIDIA graphics card

Tested on Linux Mint 19.3 For some reason I will never be able to comprehend, the Ubuntu(/derivative) installer decides to go against the recommended option by its driver manager (the proprietary nvidia drivers, even if the proprietary checkbox is clicked) and installs nouveau. This might be a great driver on some systems, but personally? I've never gotten it to work. The installer's choice to install nouveau over the nvidia drivers therefore causes extra work for me after I installed it.