Question: ufw how to remove rule?
Answer: You can use the "delete" command for deleting the ufw rule. Please type the command "ufw delete" and followed by the option that you want to be deleted, allow or deny. That command will delete the rule "allow ssh".