give someone limited ssh access

I have multiple droplets which I have set up automated backups to s3 so on each server the .s3cfg file contains my amazon secret keys. Now someone wants ssh access to their server they can go in there and get my s3 keys…basically giving them access to backups of other servers.

Is there a way to give a client or other developer ssh access but prevent them from accessing certain directories?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Don’t give them root access?