Is there any method, with ChrootDirectory and internal-sftp, to automatically cd to a subdir on login?
Peter Stuge
peter at stuge.se
Thu May 17 07:27:01 EST 2012
Ángel González wrote:
> Peter Stuge wrote:
> > set the home directory to /files for the relevant users
>
> If the user folder is /home/username, just change the
> ChrootDirectory to /home/%u, and then make their home
> /home/user1/files
As I wrote, the home directory should be /files in that case.
//Peter
More information about the openssh-unix-dev
mailing list