Hi,
Just a quick question. Is it possible to chroot certain SSH-users but not others?
I have found that I can easily chroot /all/ ssh users. But I would lock myself out in that way O_o and I only want to lock out certain users from all except their ~/
Looking for this I found several howto's describing mainly Debian based setups. It talked about patching ssh, using a different version of ssh (other than openSSH that is) or adding another authentication layer. But I was thinking maybe someone here knows something more 'slacky'*) for this purpose?
These users I want to chroot in SSH are also FTP-users and in that protocol it was very easy to chroot a list of users. I was kind of searching for something similar in SSH, but alas. I may be looking in the wrong places though. Sometimes you just don't see something because you expected something else.
So I'm hoping for something like this:
sshd_config
Code:
enable_overlooked_options=YES
chroot_list_of_users=/path/to/list_of_users
*) Slacky meaning, it Just Works once you've found the proper config option.