What will happen if I accidently
# ufw deny 22 ?
Will I be logged out immediately and never be able to access the server via ssh again? If so, is there any other way to revert the access?
ssh is setup on default port and I have root access to the server.