Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to give limited SFTP access to a web developer
I really don’t want to install a ftp client. How could I give SFTP access to a developer and have him limited to one directory i.e /var/www/htm/temp/
He should have full read and write access to everything above /temp Ideally, if he tries to login in via ssh it wold not allow it. I’ve read several tutorials now and tried different things with chroot, but just can’t seem to get it correct. Thanks for any help!
I’m using the latest Ubuntu LTS version.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×