The IETF draft Using the NETCONF Configuration Protocol over Secure Shell (SSH) requires that the NETCONF server by default provide SSH access to client machines over a dedicated TCP port, to make it easy to identify and filter NETCONF traffic. The port for the JUNOS NETCONF server is 32000. You can also enable client applications to access the NETCONF server over the default SSH port (22). For more information about the IETF draft, see Generating Well-Formed XML Documents.
To enable NETCONF service over SSH, perform the following steps:
- [edit system services]
- user@host# set netconf ssh
- [edit system services]
- user@host# set ssh
- [edit]
- user@host# commit