ssh and sudoers updates for AD.

This commit is contained in:
Darren 'Tadgy' Austin 2026-04-16 14:23:05 +00:00
commit 4ddb88fef3
3 changed files with 19 additions and 13 deletions

View file

@ -9,3 +9,9 @@ PermitRootLogin prohibit-password
StreamLocalBindUnlink yes
Subsystem sftp internal-sftp
X11Forwarding no
Match Group "System Admins"
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
AuthorizedKeysCommandUser root
AuthenticationMethods "publickey"
# ,password"