Module: Solid::SSH

Included in:
Chef
Defined in:
lib/solid/ssh.rb

Instance Method Summary collapse

Instance Method Details

#ssh_exec(command) ⇒ Object



3
4
5
6
7
# File 'lib/solid/ssh.rb', line 3

def ssh_exec command
  Net::SSH.start(@server, @user, options) do |ssh|      
    @logger.info ssh.exec! command      
  end    
end