Skip to content

Commit 8dd3512

Browse files
committed
Update howto-vm-sign-in-azure-ad-linux.md
Added description of sshd_config error and suggested solutions
1 parent 7806bbb commit 8dd3512

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/active-directory/devices/howto-vm-sign-in-azure-ad-linux.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,14 @@ Solution 2: Perform these actions:
463463
464464
Virtual machine scale set VM connections may fail if the virtual machine scale set instances are running an old model. Upgrading virtual machine scale set instances to the latest model may resolve issues, especially if an upgrade hasn’t been done since the Azure AD Login extension was installed. Upgrading an instance applies a standard virtual machine scale set configuration to the individual instance.
465465
466+
### AllowGroups / DenyGroups statements in sshd_config cause first login to fail for AAD users
467+
468+
Cause 1: If sshd_config contains either AllowGroups or DenyGroups statements, the very first login fails for AAD users. If the statement was added after a user already has a successful login, they can log in.
469+
470+
Solution 1: Remove AllowGroups and DenyGroups statements from sshd_config.
471+
472+
Solution 2: Move AllowGroups and DenyGroups to a "match user" section in sshd_config. Make sure the match template excludes AAD users.
473+
466474
## Next steps
467475
468476
[What is a device identity?](overview.md)

0 commit comments

Comments
 (0)