nerdexam
IBM

C4040-221 · Question #213

How can ssh access for root be disabled?

The correct answer is C. Set PermitRootLogin to no in /etc/ssh/sshd_config. See the full explanation below for the reasoning.

Question

How can ssh access for root be disabled?

Options

  • ARemove the ssh line from /etc/inetd.conf.
  • BSet rlogin to false in /etc/security/user for root.
  • CSet PermitRootLogin to no in /etc/ssh/sshd_config.
  • DSet RootPasswordAuthentication to no in /etc/ssh/ssh_config

How the community answered

(42 responses)
  • A
    17% (7)
  • B
    2% (1)
  • C
    71% (30)
  • D
    10% (4)

Community Discussion

No community discussion yet for this question.

Full C4040-221 Practice