To enable SSH password login on Ubuntu 26.04, add a 00- drop-in so it is read before cloud-init snippets.
Step 1 : A 00- drop-in is read before cloud-init SSH snippets.

Step 2 : Restart SSH.

Step 3 : Test. Change the user and IP.

You have enabled SSH password login on Ubuntu 26.04.