Report this

What is the reason for this report?

How to give limited SFTP access to a web developer

Posted on July 5, 2015

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.