give someone limited ssh access

February 10, 2018 931 views
Backups DigitalOcean 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?

1 Answer

Don’t give them root access?

Have another answer? Share your knowledge.