vagrant-auto_ssh_config
A vagrant plugin for automatically generating ssh_config entry.
Installation
$ vagrant plugin install vagrant-auto_ssh_config
Usage
After plugin installed and run "vagrant up", you can login vagrant machine by "ssh vagrant-latest" without "vagrant ssh-config --host vagrant-latest >> ~/.ssh/config".
This plugin creates/updates ssh_config entry at "vagrant up". And it deletes ssh_config entry for "vagrant-latest" at "vagrant halt".
Development
Test on Vagrant machine
- Install related gems:
bundle
- Run Vagrant machine:
bundle exec vagrant up
Install from source
- Create a gem:
bundle exec rake build
- Install built gem:
vagrant plugin install pkg/vagrant-auto_ssh_config-VERSION.gem
Contributing
- Fork it ( https://github.com/nishidayuya/vagrant-auto_ssh_config/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request