JN0-102 · Question #178
How can you verify that you have correctly configured SSH access to your Junos device?
The correct answer is A. user@router# show system services. To verify the SSH configuration on a Junos device, the show configuration system services command should be used.
Question
How can you verify that you have correctly configured SSH access to your Junos device?
Options
- Auser@router# show system services
- Buser@router> show configuration services
- Cuser@router# show configuration system services
- Duser@router# show system login
How the community answered
(29 responses)- A93% (27)
- B3% (1)
- C3% (1)
Why each option
To verify the SSH configuration on a Junos device, the `show configuration system services` command should be used.
The `show system services` command (when interpreted as `show configuration system services` which is the accurate Junos CLI command) displays the configured system services, including SSH settings, allowing an administrator to verify that SSH access is correctly set up. While `show configuration system services` (choice C) is more explicit and precise for displaying the configuration, in some exam contexts, `show system services` may be used as a shorthand or general inquiry to confirm service enablement and high-level configuration. Note: The most technically precise command for verifying *configuration* is `show configuration system services`.
`show configuration services` is an incomplete and incorrect command path to view system services configuration.
`show configuration system services` is technically the most accurate command to verify SSH configuration, as it explicitly displays the relevant configuration section. However, choice A is presented as the correct answer, implying a broader interpretation for 'show system services' as a verification command.
`show system login` displays information about login sessions or user accounts, but not the configuration of the SSH service itself.
Concept tested: Junos SSH configuration verification
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topics/task/cli-show-system-services.html
Topics
Community Discussion
No community discussion yet for this question.