Command-Line Tools
Each JumpServer installation ships with the jmsctl management script. It wraps the
Docker Compose project and is the supported way to install, start, stop, back up,
restore, and upgrade the platform. This page lists the most useful commands and
their behavior.
Before you begin
- Log in to the JumpServer host with an account that can run Docker commands.
- Change to the JumpServer installation directory before running the script. The
directory is the extracted installer or upgrade package, commonly
/opt/jumpserver.
Service commands
Start and stop commands are also the way to apply configuration changes; there is no hot reload. See Configuration.
stop, down, restart, and uninstall interrupt active sessions. Run them in a
maintenance window and notify users first.
Data commands
Back up before any upgrade or restore, and verify the backup file before starting the operation. The full procedure is in Backup & Restore.
Configuration helper
./jmsctl.sh config edits common settings with guided prompts:
Changes made by the helper are written to config.txt and take effect after
./jmsctl.sh restart.
Examples
Check the service state and follow Core logs:
Create a database backup, then restore it later:
In an enterprise installation, the host management service is managed together with the containers: