🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.PasswordAuthentication yes and PermitRootLogin yes
  2. B.PasswordAuthentication no and PermitRootLogin no
  3. C.Port 80
  4. 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 →