Cap ssh-key man
A capistrano command that allows you to put all developers' public keys to all servers.
This must be a painful job to add developer's ssh key to all servers one by one,
but after you have this tool, you just need execute cap sshkey:deploy
Usage
Add
gem "cap-ssh-key-man"in your Gemfile.Add
require 'cap-ssh-key-man/tasks/rsync'toconfig/deploy.rbof your rails project.Add
set :sshkeys_path, PATH_TO_SSHKEYS_STORE_PATHtodeploy.rb.Put all public ssh keys to
PATH_TO_SSHKEYS_STORE_PATHdir of your rails project.Execute
cap sshkey:deploy
Done.
Author
Michael He