IBM
C4040-227 · Question #228
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
(26 responses)- A4% (1)
- B8% (2)
- C69% (18)
- D19% (5)
Community Discussion
No community discussion yet for this question.