← Quiz: Linux for DevOps: all 10 questions
Quiz: Linux for DevOps · Question 5 of 10
Which sshdconfig settings are part of basic server hardening?
Which sshd_config settings are part of basic server hardening?
- A.PasswordAuthentication yes and PermitRootLogin yes
- B.PasswordAuthentication no and PermitRootLogin no
- C.Port 80
- D.chmod 777 ~/.ssh
Answer & explanation
Correct answer: PasswordAuthentication no and PermitRootLogin no
Use key-based login only and don't allow direct root login.
Can you get the rest right without peeking?
Take the timed Quiz: Linux for DevOps quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →