You have to setup the Skeleton directory properly and the user UID and GID properly.

Basically, make the entire ssh as part of the home dirs for ever user.

I'll do a quick setup and give you a looksee on an old machine here.