Question

give someone limited ssh access

Posted February 10, 2018 1.1k views
DigitalOcean Backups Ubuntu 16.04

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?

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.

1 answer

Don’t give them root access?

Submit an Answer