Skip to content

Instantly share code, notes, and snippets.

@ciaoben
Created March 2, 2017 13:56
Show Gist options
  • Save ciaoben/aa713a5eee814ffb6ef0b7b70994eb6f to your computer and use it in GitHub Desktop.
Save ciaoben/aa713a5eee814ffb6ef0b7b70994eb6f to your computer and use it in GitHub Desktop.
SSH example
command = "/home/vpopmail/bin/vaddaliasdomain " + self.get_param + "#{real_domain_name} #{alias_domain_name}"
run = self.exec_with_return_code(command, true)
# Quest lancia /home/vpopmail/bin/vaddaliasdomain prova.com prova.it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment