Problem: I need to allow ssh access to my web server to dev team in order to use Drush. I am reluctant to give them full SSH access due to lack of trust in their SSH skills and knowledge.
Attempted Solution: I tried creating users on my server and only allow them access to Drush using the following command.
useradd -s /usr/bin/drush drushuser
On logging in with drushuser, a list of commands displays and logs out immediately.
I do something similar with git and git-shell, I set the /usr/bin/git-shell as their default shell and it does allow them to push and pull content remotely.
Is there any way I can get the same results for drush?