Hello everyone,
I've been asked to build a SFTP server. I was able to do so by following this tutorial
https://www.howtoforge.com/tutorial/how ... -on-centos
I was able to follow this procedure and all is working well, but it only share 1 folder. I would like to share other folders to achieve what I want. Is there a way to add folders?
Thank you
Add folder to share in SFTP
Re: Add folder to share in SFTP
you can control this with ChrootDirectory /data/%u
then you have to create directories and sub directories
pay attention to directory tree you will not share directories on the same level with chroot
then you have to create directories and sub directories
pay attention to directory tree you will not share directories on the same level with chroot