Description: Customized SSH port is not allowed on ufw. The default 22 port is allowed on ufw, while the ssh port has been customized beforehand. This issue seems to me to be a crucial one as you cannot log in to your server account with SSH client after installation.
Description: Customized SSH port is not allowed on ufw. The default 22 port is allowed on ufw, while the ssh port has been customized beforehand. This issue seems to me to be a crucial one as you cannot log in to your server account with SSH client after installation.
Steps to reproduce the issue:
sudo systemctl restart ssh
Expected result: The port should be allowed on ufw based on your customization on step 2.
Actual result: Port 22 is allowed on ufw, you're logged out from SSH and cannot log in with SSH again.