JN0-104 Exam QuestionsBrowse all questions from this exam

JN0-104 Exam - Question 18


The user root is unable to connect to the router using SSH. Referring to the exhibit, which configuration change will correct the problem?

Show Answer
Correct Answer: B

The root user is unable to connect to the router using SSH because the current configuration explicitly denies root login via SSH by using 'root-login deny'. To correct this, the configuration needs to be changed to allow root login via SSH. The appropriate command to achieve this is 'set system services ssh root-login allow', which permits root login by SSH.

Discussion

5 comments
Sign in to comment
GordonEmmanuelOption: A
Mar 13, 2023

Difficult to say, because, generally, you would want to first delete the deny then set the allow.

VanDerGraafGenerator
Mar 13, 2023

When you configure "set system services ssh root-login allow" it will automaticaly delete "deny" config. Therefore B

ToxkalcanOption: B
Oct 20, 2022

can be both indeed, seems like IOS and platform dependent https://www.juniper.net/documentation/us/en/software/junos/user-access/topics/ref/statement/ssh-edit-system.html

cyberjuniper
May 23, 2023

the A and B options work. tested!

_muxa_Option: B
Nov 16, 2022

Answer B

MakweenOption: B
Apr 4, 2023

"B" is just the right command to enter to enable that service

DongPTITOption: B
Sep 12, 2023

B is correct. The question is that the connection uses SSH, so we need to use the command "set system services ssh root-login allow" to allow root login via SSH.