automatic firewall linux ssh code example Example: firewall linux $ sudo firewall-cmd --get-active-zones