Michael De Cou
Explorer
- Joined
- Aug 12, 2016
- Messages
- 50
Hi,
Currently running TrueNAS-12.0-U8, I have an FTP server setup and have run into the issue where SFTP users can log into their home directory, but chroot has not effect and users can navigate up to the root directory. I have read in the current user documentation that chroot has no effect for SFTP, and it suggests that if this is a concern, I may want to consider using FTP with TLS/SSL instead. My questions are as follows:
Is there any workaround to continue to use SFTP and lock users in their home directory? ie: Is there a way to create an alias for a home directory that shows no directories above the home directory?
Is there a way to deny SFTP connections? I cannot seem to find any settings for this within the GUI.
Thanks for any feedback.
Currently running TrueNAS-12.0-U8, I have an FTP server setup and have run into the issue where SFTP users can log into their home directory, but chroot has not effect and users can navigate up to the root directory. I have read in the current user documentation that chroot has no effect for SFTP, and it suggests that if this is a concern, I may want to consider using FTP with TLS/SSL instead. My questions are as follows:
Is there any workaround to continue to use SFTP and lock users in their home directory? ie: Is there a way to create an alias for a home directory that shows no directories above the home directory?
Is there a way to deny SFTP connections? I cannot seem to find any settings for this within the GUI.
Thanks for any feedback.