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.rb
of your rails project.Add
set :sshkeys_path, PATH_TO_SSHKEYS_STORE_PATH
todeploy.rb
.Put all public ssh keys to
PATH_TO_SSHKEYS_STORE_PATH
dir of your rails project.Execute
cap sshkey:deploy
Done.
Author
Michael He