class Pennyworth::ImportSshKeysCommand

Public Instance Methods

execute(ip, options) click to toggle source
# File lib/pennyworth/commands/import_ssh_keys_command.rb, line 20
def execute(ip, options)
  password = options[:password] || "linux"
  SshKeysImporter.import(ip, password)
rescue => e
  log e.message
end