Hello all, I have a feeling this is a very simple question, but I'm missing something. Hopefully you can guide me or correct me!
I am embedding the SSHD server and I want to only allow certain users to request a shell - for other users, I want it to deny the request as if I hadn't configured a ShellFactory. I've successfully chrooted users and used the session to work out the home directory for other aspects (SFTP for example), but can't work out if it is possible to do similar with the shell. Or is it that I have to make the shell command decide this? Any hints or direction would be much appreciated. Many thanks, Adam.
