Is there a way with sftp to have it configured server-side to run a cd command when a client connects?
I have my users thrown in to chroot, the folder has to be root:root chowned and cannot be writable by any other users, there are subfolders owned by the sftp users in the chroot.
What I'd like to do is cd users in to their folders from the server side in the jail when they connect, to avoid the annoyance of having to do so every time they connect. Is this possible?