After configuring a new Raspberry Pi Zero W, I have not been able to ssh into it over WiFi. The IP address is assigned and pingable, but I get 'connection refused' errors.
After some research, I discovered one possible solution is to replace the SSH host keys on the pi.
But it's a Catch-22, because I can't login to the pi to change the keys that I need to change to be able to log into the pi.
What can I do?