Skip to main content
5 events
when toggle format what by license comment
Nov 21, 2024 at 7:58 comment added telcoM If you use ChrootDirectory /, it's the same as not using ChrootDirectory at all. The ChrootDirectory directive is not necessary for the SFTP server function: it is only needed if you want to restrict the SFTP users to seeing only a strictly limited part of the system.
Nov 21, 2024 at 7:52 comment added user1169587 I change ChrootDirectory from /home to /, then it also works without creating symbolic link, thanks for your solution.
Nov 21, 2024 at 7:50 vote accept user1169587
Nov 21, 2024 at 7:47 comment added user1169587 because sshd cannot found /home/home/sftp_user, so after login, it default to the "/"?
Nov 21, 2024 at 6:41 history answered telcoM CC BY-SA 4.0