vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Environment#copy_insecure_private_key
This method copies the private key into the home directory if it doesn't already exist. This must be done because `ssh` requires that the key is chmod 0600, but if Vagrant is installed as a separate user, then the effective uid won't be able to read the key. So the key is copied to the home directory and chmod 0600.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/environment.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Environment-copy_insecure_private_key-for-pr
# Commit to gitgit add lib/vagrant/environment.rbgit commit -m "better docs for Vagrant::Environment#copy_insecure_private_key"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--Environment-copy_insecure_private_key-for-pr
hub pull-request
# Celebrate!