When the ssh started to fail, i was logged into the proxmox web panel with the session active, but it wouldn't let me use my node's console, and in the system section it said that the sshd was failing with that error I mentioned up. However, it was night, and I went to sleep. Today when I woke up, the session had expired and when trying to access, I could no longer access through the web panel (I guess it's because of ssh).