A small CLI tool written in Zig that wraps ssh and allows you to connect to different project environments via a bastion host.
The tool reads a config.json file that defines:
- projects
- environments (per project)
- associated users, servers, and container commands
- bastion host
mon shell -p <project> -e <environment> [--no-bastion]Example:
mon shell -p myapp -e devThis will:
- Connect to the bastion
- SSH into the target server
- Execute the
shellcommand defined inconfig.json
mon console -p <project> -e <environment> [--no-bastion]Example:
mon console -p myapp -e prodThis runs the console command instead of the shell one.