Quickstarts
Jump Hosts
Hoop could act as a bastion server allowing the execution of one-off sessions.
Prerequisites
To get the most out of this guide, you will need to:
- Either create an account in our managed instance or deploy your own hoop.dev instance
- hoop.dev’s CLI installed in your local machine
- You must be your account administrator to perform the following commands
Connection Configuration
Any agent connected in the gateway could act as bastion host. You could choose which command to expose.
Expose Bash Shell
hoop admin create conn jump-host-bash -a <agent-name> -- /bin/bash
Expose Python Shell
hoop admin create conn jump-host-python -a <agent-name> -- python3
How to Use
Start an interactive session.
# bash interactive session
hoop connect jump-host-bash
In the same connection, one-off processes can be run as well.
hoop exec jump-host-bash <<EOF
echo "one-off execution" && env
EOF
hoop exec jump-host-python -i 'import os; print(os.environ)'