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.2.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
roj-0.2.0-py3-none-any.whl
(4.8 kB
view hashes)