I need to give SSH read only access to a certain directory so they can look at my PHP code.
The directory is /var/www/html/websitenamehere/
How can I make a user and let them login via SSH to see that directory and read it only? Is that possible?
I'm use to only logging in as root.
Something like:
Or you could just make a tarball of the filesystem and mail it to the user with something like