Documentation
¶
Overview ¶
Command praetorian is an SSH command restrictor. It is used as the target of a `command="praetorian run <alias>"` directive in authorized_keys, and validates SSH_ORIGINAL_COMMAND against an allow-list before executing it directly (no shell).
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
authkeys
Package authkeys analyzes OpenSSH authorized_keys files and cross-checks praetorian command= directives against a loaded config.
|
Package authkeys analyzes OpenSSH authorized_keys files and cross-checks praetorian command= directives against a loaded config. |
|
cli
Package cli implements praetorian's command-line dispatch.
|
Package cli implements praetorian's command-line dispatch. |
|
config
Package config loads and represents praetorian configuration.
|
Package config loads and represents praetorian configuration. |
|
engine
Package engine tokenizes and evaluates SSH commands against allow rules.
|
Package engine tokenizes and evaluates SSH commands against allow rules. |
|
Package version holds build-time version information.
|
Package version holds build-time version information. |
Click to show internal directories.
Click to hide internal directories.