QuestionQ32

VerifiedSystem Security

Which lines in the sshd configuration file, if they are present, should be changed to improve server security?

Choose two
Explanation

SSH protocol version 1 is obsolete and insecure, so SSH servers should not permit it. Direct root login should also be disabled or restricted because it creates a high-impact remote administrative access path. PermitEmptyPasswords no already prevents logins to accounts with empty passwords, and IgnoreRhosts yes disables trust based on .rhosts files. The OpenSSH sshd_config documentation identifies PermitRootLogin no as disallowing root login and documents the supported root-login restriction modes.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!