Bitzu

JN0-106 ยท Initial configuration and access control

Remote management access

Enabling SSH, Telnet, NETCONF and root login restrictions under system services, and console versus remote access.

Key points

  • Remote access is disabled by default; you enable each service under system services (ssh, telnet, ftp, netconf and others).
  • SSH root login is controlled by root-login under system services ssh: deny-password (default, root only without password auth), allow, or deny.
  • The console is a separate, local path used for first-time setup before remote access exists.

Source: https://juniper.net/documentation/en_US/junos/topics/topic-map/junos-software-remote-access-overview.html

Practice questions

Single choice

What is the default value of root-login under system services ssh?

  1. allow
  2. deny-password
  3. deny
  4. permit-key
Show answer

Answer: B. deny-password

The default is deny-password: root may log in over SSH only when the method does not use a password, such as a key. allow and deny must be set explicitly.

Select all that apply

Which services can be enabled under system services for remote access?

  1. ssh
  2. bgp
  3. telnet
  4. ospf
  5. ftp
Show answer

Answer: A. ssh, C. telnet, E. ftp

ssh, telnet and ftp are statements under system services. BGP and OSPF are routing protocols configured elsewhere.

True or false

True or false: root-login deny-password blocks every root login over SSH.

Show answer

Answer: False

False. It blocks root only when the login method needs a password; root can still log in with a method such as a public key. Use deny to block root entirely.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More JN0-106 topics in this module