...
1- create the functional zone and add interfaces
2- Enable system services: shhs and web-management
Real Hardware: example SRX300
set system name-server 194.168.4.100
set system name-server 194.168.8.100
set system name-server 8.8.8.8
set system services ssh
set system services web-management http
set security zones functional-zone management interfaces ge-0/0/0.0
set security zones functional-zone management host-inbound-traffic system-services dhcp
set security zones functional-zone management host-inbound-traffic system-services dns
set security zones functional-zone management host-inbound-traffic system-services http
set security zones functional-zone management host-inbound-traffic system-services https
set security zones functional-zone management host-inbound-traffic system-services ntp
set security zones functional-zone management host-inbound-traffic system-services ping
set security zones functional-zone management host-inbound-traffic system-services netconf
set security zones functional-zone management host-inbound-traffic system-services ssh
set security zones functional-zone management host-inbound-traffic system-services httpsnmp-trap
set security zones functional-zone management host-inbound-traffic system-services traceroute
set security zones functional-zone management host-inbound-traffic system-services httpswebapi-clear-text
set interfaces ge-0/0/0 unit 0 family inet address 192.168.0.2/24
set routing-options static route 0.0.0.0/0 next-hop 192.168.0.1
root> show configuration security zones functional-zone management
...
set security zones functional-zone management host-inbound-traffic system-services all
2- Enable system services:
[edit system services]
root# show
ssh;
web-management {
http {
interface ge-0/0/2.0;
}
}
...