Michele Lombardo
Dabbler
- Joined
- Jul 16, 2016
- Messages
- 17
Dear all,
I've spent all day trying to figure out how to chroot a sftp user. But I couldn't. The best result I got is each user can access its home folder (can read and write), but he can also see my /mnt folder and volumes folders (but he can't access them).
Honestly I would like to have those upper folders invisible, and let him only sees his home folder.
I've been trying extra setting in SSH window, adding code to ssh_config... but without any success.
I'm running FN 9.1 stable.
I attach here a few screenshots to show my settings.
Once I'll figure it out, I'd like to use public key method to login. How can I do that?
Thank you
I've spent all day trying to figure out how to chroot a sftp user. But I couldn't. The best result I got is each user can access its home folder (can read and write), but he can also see my /mnt folder and volumes folders (but he can't access them).
Honestly I would like to have those upper folders invisible, and let him only sees his home folder.
I've been trying extra setting in SSH window, adding code to ssh_config... but without any success.
I'm running FN 9.1 stable.
I attach here a few screenshots to show my settings.
Once I'll figure it out, I'd like to use public key method to login. How can I do that?
Thank you