I've locked my self out using firewall, how to login from the Web Console using private key

#1

Hi,
Unfortunately I’ve locked my self out using ufw firewall by blocking all ports mistakenly , I tried to login using the web console to fix it, but I don’t know how to login from Console using private key?! Any idea?

Thanks!

#2

I don’t have overcome the same situation that I have had to regain access. I don’t have tested out and I’m not sure does it work at all without a password as the key is meant to be used with SSH handshake, but you can try rescue mode and test are you able to mount your drives and disable UFW or change rules directly from a file by browsing there with rescue mode.

~ Br, NoName