Ssh: connect to host 192.xx port 22: Connection refused

Hi everyone,

I need help as my Home Assistant setup has become completely inaccessible after a power outage.

My Setup:
Device: Raspberry Pi 5
Installation Method: Home Assistant OS
Storage: SD card

The Issue:
I can no longer access Home Assistant from my browser using http://192.168.xx:8123 or http://homeassistant.local:8123. It keeps showing the message:
“This site can’t be reached.”

I’ve tried several commands from the Home Assistant CLI, but nothing seems to work.

What I’ve Tried So Far:
Connected a monitor and keyboard directly to the Pi and accessed the Home Assistant CLI.
Tried running:
ha core restart
ha core rebuild
ha host reboot

Checked network settings with ha network info, and the IP address matches what I’ve been using.

Tried restoring a backup, but I get the following error:
“Invalid password”, even though I was never prompted for a password.

SSH Issue (Port 22):
I’ve also tried to fix SSH, but I keep seeing this message:
“SSH port is disabled. Prevent start of SSH server.”

I’m unable to connect via SSH from any device on my network. I tried resetting the network settings using:
ha network update eth0 --ipv4-method auto
But it didn’t solve the issue with port 22 being closed.

Questions:
Could this be a network issue or a corrupted SD card?
Is there any way to reset my network settings from the CLI?
How can I re-enable SSH access to troubleshoot further?

I feel like I’ve hit a wall, and I’d really appreciate any advice or guidance!

Thanks in advance for your help!