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.

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open lib/vagrant/util/ssh.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Util--SSH-check_key_permissions-for-pr


# Commit to git

git add lib/vagrant/util/ssh.rbgit commit -m "better docs for Vagrant::Util::SSH.check_key_permissions"


# Open pull request

gem 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!