So recently, I was trying to "do-release-upgrade" of Ubuntu 20.04 in my 18.04 instance. But while upgrading, I accidentally closed my ssh connection. Then I tried to reconnect but I got "connection refused" message and couldn't connect. Also I can't connect to http server running.
I set my ssh port to 22818, but it seems like the iptable rules has been reset while upgrading. I checked nmap port scan and the only port opened is 22. But the problem is... the instance has "endlessh" installed which prevents ssh login to port 22. So I cant even connect to port 22.
I tried cloud shell console connection but it keep saying incorrect login.
How can I solve this problem?