vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Util::SSH.check_key_permissions
Checks that the permissions for a private key are valid, and fixes them if possible. SSH requires that permissions on the private key are 0600 on POSIX based systems. This will make a best effort to fix these permissions if they are not properly set.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/util/ssh.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Util--SSH-check_key_permissions-for-pr
# Commit to gitgit add lib/vagrant/util/ssh.rbgit commit -m "better docs for Vagrant::Util::SSH.check_key_permissions"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--Util--SSH-check_key_permissions-for-pr
hub pull-request
# Celebrate!