We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
You can even up- and download files from your servers. Just require the (R)?ex Module Rex::Commands::Upload or Rex::Commands::Download.
use Rex::Commands::Upload; use Rex::Commands::Download; user "myuser"; password "mypass"; desc "Upload package"; task "upload", "server1", "server2", sub { upload "my-package.tar.gz", "/var/www/localhost/my-package.tar.gz"; }; desc "Download syslog"; task "syslog", "server1", sub { download "/var/log/syslog", "/tmp/syslog"; };