BashTower
A modern Web remote script execution platform that supports batch execution of Bash and Python scripts on multiple hosts via SSH.
Default account password: admin/admin - ˇ ** Multi-host execution ** -Run scripts on multiple hosts simultaneously via SSH - ** Template Library ** -Saves reusable Bash and Python script templates - **Python support ** -Support for executing Python 3 scripts - ** Host group management ** -Organize hosts into logical groups for batch operations - **SSH key storage ** - AES-256 encrypted storage of private keys - ** Real-time monitoring ** -View real-time stdout/stderr output and status tracking - **Cron Scheduler ** -uses cron expressions to schedule regular script execution - **AI Assistance ** -Supports OpenAI/Gemini/Olama for error analysis and script generation ##User Manual ### Step 1: Start it for the first time Application startup takes approximately 30-60 seconds to initialize the database. ** Default login credentials: ** - User name: `admin` - Password: `admin` >ˇ Please change the default password immediately after logging in for the first time! ### Step 2: Initial configuration 1. ** Add SSH key **: Go to the Keys page and upload the RSA/Ed25519/ECDSA private key 2. ** Add host **: Configure the IP, username and port of the target host 3. ** Create host groups **: Group hosts for batch management ### Step 3: Create a script template Navigate to **Templates** to create reusable scripts: ```bash #!/ bin/bash echo "System Info for $(hostname)" echo "==========================" uname -a df -h free -m ``` ### Step 4: Executing the script 1. Go to the **Dashboard** 2. Select script **Template** 3. Select a target: host group or individual host 4. Select **SSH Key** 5. Click **Launch Script** 6. Monitor real-time output in terminal view ### Step 5: Set scheduled tasks (optional) 1. Enter Cron Jobs 2. Create new tasks and configure cron expressions 3. Common expressions: - `0 2 * * *` -2am every day - `0 0 * * 0` -Midnight every Sunday - `0 0 1 * *` -1 day of each month


