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)- A17% (7)
- B2% (1)
- C71% (30)
- D10% (4)
Community Discussion
No community discussion yet for this question.