Skip to main content

roj (run on jail) runs a command (login shell by default) on a local or remote jail

Project description

roj (Run On Jail)

roj is a simple command-line tool that runs a command (login shell by default) in the given jail, either locally or remotely over SSH.

The given jail name is tried verbatim, and if not found, with an ioc- prefix for compatibility with iocage.

Examples:

roj abc

Runs a login shell in the local jail named abc (or if not found, ioc-abc).

roj -Hhy abc ps axl

Runs ps axl in the jail named abc or ioc-abc on a remote host hy. The hostname is provided verbatim to ssh(1) so usual ssh_config(5) settings can be applied, e.g. in the Host hy section.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roj-0.1.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

roj-0.1.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page