When you configure a dedicated NETCONF-over-SSH port on a Junos device using 'set system services netconf ssh port <port-number>', two behaviors apply: (1) the default SSH port (22) is unaffected and continues to accept NETCONF sessions in addition to regular SSH sessions, and (2) the newly configured dedicated port becomes exclusive to NETCONF-over-SSH traffic, accepting only NETCONF sessions and rejecting standard SSH connection attempts on that port. This is documented in Juniper's official Junos NETCONF configuration reference.
Community Discussion