Search code examples
ruby-on-railscapistrano

capistrano one username for multiple users


I have multiple developers working on the same application in rails. I am trying to get capistrano setup to use one login (preferably with public keys vs. password). I can't seem to find anything on the net that covers this. Can anyone point me in the right direction?

Thanks


Solution

  • You can use the set :user, "username" instruction to set a generic username like deploy Then you can add all their public keys to the /home/deploy/.ssh/authorized_keys file