Troubleshooting SSH Connectivity on Raspberry Pi

Hey everyone, I’m reaching out to the community for some guidance on an issue I’m encountering with my Raspberry Pi setup. I’ve been using SSH to connect to my RPi 2 for several months without any issues, but recently, it’s stopped responding. When I try to connect via PuTTY, I receive a ‘Network (reboot)!’ warning, and using KiTTY immediately gives me a ‘Server unexpectedly closed network connection’ error. I’ve tried connecting a TV via HDMI, but the screen remains blank, although OpenHabian seems to be functioning fine. All my passwords are set to the default, so I don’t think that’s the issue. Has anyone encountered something similar and managed to resolve it? I’m really hoping to get SSH working again without having to reinstall everything from scratch. Any tips or advice would be greatly appreciated!