刚发布。试试挺好的。
https://github.com/hlxwell/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
Add gem "cap-ssh-key-man"
in your Gemfile.
Add require 'cap-ssh-key-man'
to config/deploy.rb
of your rails project.
Put all public ssh keys to config/developer_ssh_keys
dir of your rails project.
Execute cap sshkey:deploy
Done.
Michael He