QuestionQ75

VerifiedSecurity Fundamentals

An IT associate created a new user account on a server. When the user tries to sign in through SSH, the logs show this error:

User foo from 192.168.2.25 not allowed because not listed in AllowUsers

Which option resolves this error?

Explanation

The AllowUsers directive restricts SSH login to usernames that match its configured list. Adding foo to AllowUsers in sshd_config and restarting or reloading sshd permits that account to proceed with SSH authentication.

Learn more

Community Discussion

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