Rex
rexify.org
What it is
Rex is a free, open-source automation framework for managing local computers and remote machines over SSH. It runs self-hosted and agentless on Linux and Windows, with support also listed for RHEL/CentOS, Fedora, OpenWRT, BSDs, and Solaris. Projects keep inventory, environments, authentication details, and tasks in a Rexfile. You can combine local or remote execution, push or pull management, and imperative or declarative styles. Tasks can install packages, upload configuration files, start services, and trigger actions when files change. Rex uses a DSL compatible with Perl syntax and can be extended with Perl modules or custom code. Authentication documentation covers passwords, SSH keys, passphrases, external credential sources, and ssh-agent. The control host needs Perl and dependencies; managed hosts need Perl 5 and a valid SSH account. Installation is recommended through CPAN, with package-manager and source options. Apache 2.0 licensing applies to Rex and its parts.
Spec sheet
- Purpose
- Rex is an automation framework for managing local machines and remote machines over SSH.Read 8 Oct 2026 · rexify.org
- Integrations
- The guides include managing OpenWrt devices and Amazon EC2 instances.Read 8 Oct 2026 · rexify.org
- License
- Rex and all its parts are released under the Apache 2.0 license.Read 8 Oct 2026 · rexify.org
- Authentication
- Rex documents password and SSH key authentication, passphrases, external credential sources, and ssh-agent.Read 8 Oct 2026 · rexify.org
- Commercial support
- The site lists consulting, training, and custom development from a core developer, as well as professional support from inovex.Read 8 Oct 2026 · rexify.org
- Community support
- Community support is available through GitHub Discussions, Matrix, IRC, a mailing list, and maintainer office hours.Read 8 Oct 2026 · rexify.org
- Configuration management
- Rex tasks can install packages, upload configuration files, start services, and run an action when a file changes.Read 8 Oct 2026 · rexify.org
- Execution choices
- Rex supports combinations of local and remote execution, push and pull management, and imperative and declarative approaches.Read 8 Oct 2026 · rexify.org
- Installation
- The recommended installation method is CPAN, and Rex is also distributed through operating-system package managers and from source.Read 8 Oct 2026 · rexify.org
- Intended use
- The site describes Rex as suitable for incremental automation because it runs locally while managing remote systems over SSH.Read 8 Oct 2026 · rexify.org
- Language
- Rex uses a simple DSL that is syntax-compatible with Perl, and users can extend it with Perl modules or their own code.Read 8 Oct 2026 · rexify.org
- Requirements
- The control host requires Perl and its dependencies; managed hosts need a Perl 5 interpreter and a valid SSH account.Read 8 Oct 2026 · rexify.org
- Task files
- Rex projects define inventory, environments, authentication information, and tasks in a Rexfile.Read 8 Oct 2026 · rexify.org
- Windows support
- The project’s release notes say Rex 1.16.0 added features for running commands on Windows.Read 8 Oct 2026 · rexify.org
Plans and prices
Strong points and limits
Strong points
- Free Apache 2.0 open-source framework
- Self-hosted and agentless deployment
- Supports local and remote execution
- Tasks handle packages, files, and services
- Documents password and SSH-key authentication
Limits
- Managed hosts require Perl 5
- Control host requires Perl dependencies
- Windows command features arrived in Rex 1.16.0
Who it suits
Rex suits teams needing self-hosted, agentless automation across local and SSH-accessed systems. It is also aimed at users comfortable with Perl-based configuration and command execution.
Verdict
Rex provides a flexible, Perl-compatible way to automate local and remote machines over SSH. Its self-hosted model and broad platform list fit incremental infrastructure work, provided managed hosts meet the Perl requirement.
Where Specifiction places it
- Configuration Management Tools#20 of 267.3