enable firewall port 22 on ec2 server after disable it
<p>Step error:
1. sudo ufw enable
2. Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
3. exit
Before ssh again and can not access.
On Security Group, port 22 is opening
But firewall disable port 22.
How to access server again?</p>