Hello everyone,
I am reaching out to the community to ask if anyone has tried to add a single user account from AD to ssh access on the Mac?
I have tried the following
Created a policy to run a single terminal command:
dseditgroup -o edit -a “(networkid)” -t group com.apple.access_ssh
Also I have tried scripting this out in case the com.apple.access_ssh group is not there.
!/bin/bash/
dseditgroup -o create -q com.apple.access_ssh
dseditgroup -o edit -a "DOMAIN(networkid)" -t com.apple.access_ssh
Does anyone have any thoughts or have gotten this to work for them.