Skip to main content

I created a user with teh createuserpkg app and found that everything works except I can't ssh into a box using that account. I can using our jss account - so I know ssh is working, but just not with that account.

You need to specifically grant that account SSH access; it's not enabled by default unless you have globally allowed SSH access on the client.



You can run the following remotely to do this:



sudo dscl . append /Groups/com.apple.access_ssh user USERNAME
sudo dscl . append /Groups/com.apple.access_ssh groupmembers `dscl . read /Users/USERNAME GeneratedUID | cut -d " " -f 2`

thank you! I added that to the First Boot script and now it works perfectly! Thank you!