A new instance of Ssh.
Returns a new instance of Ssh.
7 8 9 10 11 12
# File 'lib/dployr/scripts/ssh.rb', line 7 def initialize(ip, instance) @ip = ip @username = instance[:attributes]["username"] @private_key_path = instance[:attributes]["private_key_path"] run end