Sha256: 2a4385c31b858053a1dcf8c2bd7a745650df54bfc20611cfde7b14cab47279e5

Contents?: true

Size: 603 Bytes

Versions: 20

Compression:

Stored size: 603 Bytes

Contents

module Veewee
  module Provider
    module Virtualbox
      module BoxCommand

        def ssh_options
          port=definition.ssh_host_port
          if self.exists?
            forward=self.forwarding("guestssh")
            unless forward.nil?
              port=forward[:host_port]
            end
          end

          ssh_options={
            :user => definition.ssh_user,
            :port => port,
            :password => definition.ssh_password,
            :timeout => definition.ssh_login_timeout.to_i
          }
          return ssh_options

        end

      end
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
veewee-0.4.0 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.12 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.11 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.10 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.9 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-atlassian-0.3.11 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.7 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.6 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.5 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.4 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.3 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.2 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.1 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.0.beta2 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.0.beta1 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.0.alpha9 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.0.alpha8 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.0.alpha7 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.0.alpha6 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb
veewee-0.3.0.alpha5 lib/veewee/provider/virtualbox/box/helper/ssh_options.rb