Hi,
I have a VM that has been active for more than a year that I am using to host my website. I know that the VM is still running correctly as the website is correctly running.
However, a couple of months ago, the SSH connection stopped working: now, I can't access it anymore with the classical command “ssh -i <ssh_key_path>.key ubuntu@<publicIP>” (command that I had always used). It I run it, I receive an error: ssh: “connect to host <publicIP> port 22: Connection refused”.
The thing is: I didn't change anything in the VM configuration! Any idea about what could be the cause/how to solve it?
I have already tried to restart it but nothing changed.
Thank you for the support!