Did you try:
Match User *
ChrootDirectory /home
[..]
And maybe to exempt some:
Match User '*,!bob,!jim'
ChrootDirectory /home
[..]
Not sure about "ChrootDirectory /home", try also:
"ChrootDirectory /home/%u"
"ChrootDirectory %h" <-- prefered for home not in /home
Looking at the manpage of sshd_config and ssh_config, it looks like it should work.
Last edited by oʌǝɹ; 05-30-2009 at 04:14 AM.
|