Sha256: aab92925f14e4a3561ec2076f9d5cec26b7ffa942251b05f0ffc78449ec636ad
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 Bytes
Contents
# VagrantSsh An easy way to execute SSH commands on your Vagrant image. ## Installation Add it to your application's Gemfile: ```bash gem 'vagrant-ssh' ``` Or install it yourself as: ```bash $ gem install vagrant-ssh ``` ## Usage To create an SSH connection to your Vagrant box: ```bash @ssh = VagrantSsh::Shell.new('33.33.33.33') @ssh.execute 'whoami' => I, [2015-07-13T16:42:25.127602 #82100] INFO -- : Executing SSH command: whoami => I, [2015-07-13T16:42:25.142657 #82100] INFO -- : vagrant ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-ssh-1.0.2 | README.md |