Method: Fog::Bluebox::Compute::Server#ssh
- Defined in:
- lib/fog/compute/models/bluebox/server.rb
#ssh(commands) ⇒ Object
114 115 116 117 118 119 120 |
# File 'lib/fog/compute/models/bluebox/server.rb', line 114 def ssh(commands) requires :identity, :ips, :username = {} [:key_data] = [private_key] if private_key Fog::SSH.new(ips.first['address'], username, ).run(commands) end |