[LRUG] Setting up SSH for multiple people to deploy an app

Richard Livsey richard at livsey.org
Wed Apr 17 10:02:05 PDT 2013


What's the best way of setting up a server for multiple people to deploy to these days?

/var/www/site is currently owned by www-data:www-data

I don't want www-data to be a full user who can SSH in, individual users should be able to SSH in as themselves.

I'm thinking of adding all users who can deploy to the 'www-data' group and then setting the /var/www/site as 2775 so that it's writable by anyone in that group.

That combined with agent forwarding should mean that github deploy keys should all work for the individual users too.

Does this make sense, or are there simpler/better ways?

Cheers.



More information about the Chat mailing list