Lex::SSH

Runners

  1. State

    1. reboot(reboots a server) server:, user: 'root', delay: 0

    2. shutdown(shuts a server) server:, user: 'root', delay: 0

  2. Command

    1. run(command:, server:, user: 'root', **opts) - runs a command on the server

    2. run_multiple(commands:, server:, user: 'root', **opts) pass an array of commands to be run sequentially