HiTechCloudCLI
HiTechCloud uses HiTechCloudCLI, a command line interface designed for administrators to manage server from the terminal.
HiTechCloudCLI keeps history of used commands and allows you to view last and top 5 used commands:
# hitechcloudcli
Usage: hitechcloudcli <COMMAND> [additional_arguments]
Suggested commands:
hitechcloudcli faq Display frequently asked questions and answers.
hitechcloudcli --help List all available HiTechCloudCLI commands and their usage.
Recently used commands:
hitechcloudcli docker-collect_stats
hitechcloudcli faq
hitechcloudcli update
hitechcloudcli update_check
hitechcloudcli user-add
Most commonly used commands:
hitechcloudcli admin
hitechcloudcli docker-collect_stats
hitechcloudcli faq
hitechcloudcli update
hitechcloudcli update_check
HiTechCloudCLI ships with real bash tab-completion (lib/completion.bash, installed to /etc/bash_completion.d/hitechcloudcli). Typing hitechcloudcli and pressing TAB suggests all available commands, and pressing TAB again after a command suggests its actual arguments — usernames, domain names, plan names, PHP versions, admin logins, FTP accounts, config/notification setting names, and more, all pulled live from the panel database and filesystem so suggestions always match what's actually on the server. It's installed and kept up to date automatically by hitechcloudcli update, which also installs the bash-completion package if it's missing. Open a new shell session after updating for it to take effect.
Help​
hitechcloudcli help command generates a list of available HiTechCloudCLI commands on the current server:
hitechcloudcli --help
As new commands are added gradually, they might not yet be available in your HiTechCloud version. To check if a command is available on a server, run hitechcloudcli <command> --help.
Example output
hitechcloudcli server-ips
Description: Generates a file with a list of users with their dedicated IPs
Usage: hitechcloudcli server-ips
------------------------
hitechcloudcli server-logrotate
Description: Configures logrotate for caddy, hitechcloud, syslog.
Usage: hitechcloudcli server-logrotate
------------------------
hitechcloudcli server-migrate
Description: Migrates all data from this server to another.
Usage: hitechcloudcli server-migrate -h <DESTINATION_IP> --user root --password <DESTINATION_PASSWORD> [--force] [--exclude-* options]
------------------------
hitechcloudcli ftp-add
Description: Create FTP sub-user for hitechcloud user.
Usage: hitechcloudcli ftp-add <NEW_USERNAME> <NEW_PASSWORD> <FOLDER> <HITECHCLOUD_USERNAME>
------------------------
hitechcloudcli ftp-delete
Description: Delete FTP sub-user for hitechcloud user.
Usage: hitechcloudcli ftp-delete <username> <hitechcloud_username> [--debug]
------------------------
hitechcloudcli ftp-path
Description: Change FTP path for a user.
Usage: hitechcloudcli ftp-path <username> <path> <hitechcloud_username> [--debug]
------------------------
hitechcloudcli ftp-password
Description: Change password for FTP sub-user of hitechcloud user.
Usage: hitechcloudcli ftp-password <username> <new_password> <hitechcloud_username> [--debug]
------------------------
hitechcloudcli ftp-connections
Description: Display all active FTP connection or for particular HiTechCloud user.
Usage: hitechcloudcli ftp-add <NEW_USERNAME> <NEW_PASSWORD> <FOLDER> <HITECHCLOUD_USERNAME>
------------------------
hitechcloudcli ftp-logs
Description: View the FTP server log
Usage: hitechcloudcli ftp-log
------------------------
hitechcloudcli ftp-list
Description: List FTP sub-users for hitechcloud user.
Usage: hitechcloudcli ftp-list [HITECHCLOUD_USERNAME] [--json]
------------------------
hitechcloudcli patch
Description: Download and install a patch
Usage: hitechcloudcli patch <NAME>
------------------------
hitechcloudcli domain
Description: View and set domain/ip for accessing panels.
Usage: hitechcloudcli domain [set <domain_name> | ip] [--debug]
------------------------
hitechcloudcli phpmyadmin
Description: View and set domain/ip for phpMyAdmin access.
Usage: hitechcloudcli phpmyadmin [set <domain_name> | ip]
------------------------
hitechcloudcli api-list
Description: List available API endpoints with usage examples.
Usage: hitechcloudcli api-list [--save]
------------------------
hitechcloudcli api
Description: Check status, enable or disable HiTechAdmin API access, and list available API endpoints.
Usage: hitechcloudcli api <status|on|off|list>
------------------------
hitechcloudcli license
Description: Manage HiTechCloud Enterprise license.
Usage: hitechcloudcli license verify
------------------------
hitechcloudcli faq
Description: Display answers to most frequently asked questions.
Usage: hitechcloudcli faq
------------------------
hitechcloudcli email-manage
Description: Manage mailserver configuration and overview.
Usage: hitechcloudcli email-manage <COMMAND> <ATTRIBUTES>
------------------------
hitechcloudcli email-server
Description: Manage mailserver
Usage: hitechcloudcli email-server <status|config|install|start|stop|restart|queue|flush|view|unhold|delete|fail2ban|ports|logs|login|supervisor|postfwd|pflogsumm|update-check|update-packages|versions> [args] [--debug]
------------------------
hitechcloudcli email-quotas
Description: Fixes email permission issues for all domains.
Usage: hitechcloudcli email-quotas
------------------------
hitechcloudcli email-ratelimit
Description: Configure rate-limiting using postfwd for domains and users.
Usage: hitechcloudcli email-ratelimit
------------------------
hitechcloudcli email-webmail
Description: Display or update the domain used for accessing webmail.
Usage: hitechcloudcli email-webmail [--debug] [domain <domain>]
------------------------
hitechcloudcli email-setup
Description: Setup email addresses, forwarders, filters..
Usage: hitechcloudcli email-setup <COMMAND> <ATTRIBUTES>
------------------------
hitechcloudcli update
Description: Check if update is available, install updates.
Usage: hitechcloudcli update [--check | --force | --admin | --panel | --cli]
------------------------
hitechcloudcli webserver-get_webserver_for_user
Description: View cached or check the installed webserver inside user container.
Usage: hitechcloudcli webserver-get_webserver_for_user <USERNAME>
------------------------
hitechcloudcli version
Description: Displays the current (installed) version of HiTechCloud container image.
Usage: hitechcloudcli version
------------------------
hitechcloudcli dev
Description: Overwrite HiTechCloud container files and restart service to apply.
Usage: hitechcloudcli dev [path]
------------------------
hitechcloudcli sentinel
Description: Check system services, traffic and resource usage, and log/send custom notifications on request.
Usage: hitechcloudcli sentinel [--startup] [--report] [--action=<name> --title=<title> --message=<msg>]
------------------------
hitechcloudcli docker-collect_stats
Description: Collect resource usage information for user(s).
Usage: hitechcloudcli docker-collect_stats <username|--all>
------------------------
hitechcloudcli docker-usage_stats_cleanup
Description: Rotates resource usage logs for all users according to the resource_usage_retention setting.
------------------------
hitechcloudcli docker-backup
Description: Generates a backup for all users.
Usage: hitechcloudcli docker-backup
------------------------
hitechcloudcli docker-autostart
Description: Prefetch (pull) container images for services listed as autostart, skipping if free disk space is low.
Usage: hitechcloudcli docker-autostart [-f|--force]
------------------------
hitechcloudcli docker-images
Description: Check images for updates.
Usage: hitechcloudcli docker-images [--all|<USERNAME>]
------------------------
hitechcloudcli docker-logs
Description: Display log sizes for user and system containers
Usage: hitechcloudcli docker-logs [--all|--system|--users|<USERNAME>]
------------------------
hitechcloudcli docker-limits
Description: Set global container limits for all containers combined.
Usage: hitechcloudcli docker-limits [--apply | --apply SIZE | --read]
------------------------
hitechcloudcli user-2fa
Description: Check or disable 2FA for a user.
Usage: hitechcloudcli user-2fa <username> [disable]
------------------------
hitechcloudcli user-redis
Description: Check and enable/disable REDIS for user.
Usage: hitechcloudcli user-redis [check|enable|disable] <USERNAME>
------------------------
hitechcloudcli user-loginlog
Description: View user's .lastlogin file with last 20 successfull logins.
Usage: hitechcloudcli user-loginlog <USERNAME> [--table|--text|--json]
------------------------
hitechcloudcli user-ssh
Description: Manage SSH settings for user.
Usage: hitechcloudcli user-ssh <check|enable|disable> <username>
------------------------
hitechcloudcli user-email
Description: Change email for user
Usage: hitechcloudcli user-email <USERNAME> <NEW_EMAIL>
------------------------
hitechcloudcli user-varnish
Description: Enable/disable Varnish Caching for user and display current status.
Usage: hitechcloudcli user-varnish <USERNAME> [enable|disable|status]
------------------------
hitechcloudcli user-add
Description: Create a new user with the provided plan_name.
Usage: hitechcloudcli user-add <USERNAME> <PASSWORD|generate> <EMAIL> "<PLAN_NAME>" [--send-email] [--debug] [--webserver="<nginx|apache|openresty|openlitespeed|litespeed|varnish+nginx|varnish+apache|varnish+openresty|varnish+openlitespeed>"] [--sql=<mysql|mariadb>] [--reseller=<RESELLER_USERNAME>] [--private-note="this user.."] [--no-sentinel]
------------------------
hitechcloudcli user-rename
Description: Rename username.
Usage: hitechcloudcli user-rename <old_username> <new_username>
------------------------
hitechcloudcli user-delete
Description: Delete user account and permanently remove all their data.
Usage: hitechcloudcli user-delete <username> [-y] [--all]
------------------------
hitechcloudcli user-resources
Description: View services limits for user.
Usage: hitechcloudcli user-resources <CONTEXT> [--activate=<SERVICE_NAME>] [--deactivate=<SERVICE_NAME>] [--update_cpu=<FLOAT>] [--update_ram=<FLOAT>] [--service=<NAME>] [--json]
------------------------
hitechcloudcli user-change_plan
Description: Change plan for a user and apply new plan limits.
Usage: hitechcloudcli user-change_plan <USERNAME> <NEW_PLAN_NAME>
------------------------
hitechcloudcli user-password
Description: Reset password for a user.
Usage: hitechcloudcli user-password <USERNAME> <NEW_PASSWORD | RANDOM> [--ssh]
------------------------
hitechcloudcli user-memcached
Description: Check and enable/disable Memcached for user.
Usage: hitechcloudcli user-memcached [check|enable|disable] <USERNAME>
------------------------
hitechcloudcli user-login
Description: Login as a user container.
Usage: hitechcloudcli user-login <USERNAME>
------------------------
hitechcloudcli user-unsuspend
Description: Unsuspend user: start all containers and unsuspend domains
Usage: hitechcloudcli user-unsuspend <USERNAME>
------------------------
hitechcloudcli user-ip
Description: Assing or remove dedicated IP to a user.
Usage: hitechcloudcli user-ip <USERNAME> <IP | DELETE> [-y] [--debug]
------------------------
hitechcloudcli user-block_ip
Description: View, add, or remove blocked IP addresses for a user's domains.
Usage: hitechcloudcli user-block_ip <username> [--list='ip_here another_ip' | --delete-all]
------------------------
hitechcloudcli user-suspend
Description: Suspend user: stop all containers and suspend domains.
Usage: hitechcloudcli user-suspend <USERNAME>
------------------------
hitechcloudcli user-list
Description: Display all users: id, username, email, plan, registered date.
Usage: hitechcloudcli user-list [--json]
------------------------
hitechcloudcli user-transfer
Description: Transfers a single user account from this server to another.
Usage: hitechcloudcli user-transfer --account <HITECHCLOUD_USER> --host <DESTINATION_IP> --username <DESTINATION_SSH_USERNAME> --password <DESTINATION_SSH_PASSWORD> [--live-transfer]
------------------------
hitechcloudcli user-backup
Description: Creates a full account .tar.gz backup of a single HiTechCloud user account.
Usage: hitechcloudcli user-backup --account <USER> [--output <DIR>] [--quiet]
------------------------
hitechcloudcli user-restore
Description: Restores a single HiTechCloud user account from a full account .tar.gz backup.
Usage: hitechcloudcli user-restore --file <ARCHIVE> [--force] [--new-username=NAME] [--quiet] [--temp-dir=<PATH>]
------------------------
hitechcloudcli user-check
Description: Performs comprehensive security checks on user files, rootless Podman instance and containers.
Usage: hitechcloudcli user-check <USERNAME>
------------------------
hitechcloudcli user-quota
Description: Enforce and recalculate disk and inodes for a user.
Usage: hitechcloudcli user-quota <username|--all>
------------------------
hitechcloudcli report
Description: Generate a system report and send it to HiTechCloud support team.
Usage: hitechcloudcli report [--public|--link|--upload] [--non-interactive]
------------------------
hitechcloudcli websites-scan
Description: Scan user files for WP sites and add them to SiteManager interface.
Usage: hitechcloudcli websites-scan <USERNAME|-all>
------------------------
hitechcloudcli websites-all
Description: Lists all websites currently hosted on the server.
Usage: hitechcloudcli websites-all [TYPE]
------------------------
hitechcloudcli websites-user
Description: Lists all websites and domains owned by a specific user.
Usage: hitechcloudcli websites-user <USERNAME> [--type=] [--domains=] [--json]
------------------------
hitechcloudcli websites-pagespeed
Description: Check Google PageSpeed data for website(s)
Usage: hitechcloudcli websites-pagespeed <DOMAIN> [-all]
------------------------
hitechcloudcli websites-secure
Description: WP Manager security rules for domain.
Usage: hitechcloudcli websites-secure <DOMAIN> [--rules='RULE1 RULE2' | --disable-all | --list-active-rules]
------------------------
hitechcloudcli websites-vulnerability
Description: Scan WP site for vulnerabilities.
Usage: hitechcloudcli websites-vulnerability <DOMAIN> [--all]
------------------------
hitechcloudcli imunify
Description: Install and manage ImunifyAV service.
Usage: hitechcloudcli imunify [status|start|stop|install|update|uninstall]
------------------------
hitechcloudcli config
Description: Get or update a value in the HiTechCloud configuration file.
Usage: hitechcloudcli config [get|update] <parameter_name> [new_value]
------------------------
hitechcloudcli docker
Description: Open an interactive shell inside a system or user container, picking the user and container via fzf if not given.
Usage: hitechcloudcli docker [<user> [<container>]]
------------------------
hitechcloudcli install
Description: Create cronjobs and configuration files needed for hitechcloud.
Usage: hitechcloudcli install
------------------------
hitechcloudcli imav-deploy
------------------------
hitechcloudcli port
Description: View and change port for accessing hitechcloud.
Usage: hitechcloudcli port [set <port>]
------------------------
hitechcloudcli plan-delete
Description: Delete hosting plan
Usage: hitechcloudcli plan-delete <PLAN_NAME>
------------------------
hitechcloudcli plan-list
Description: Display all plans: id, name, description, limits..
Usage: hitechcloudcli plan-list [--json]
------------------------
hitechcloudcli plan-edit
Description: Edit an existing hosting plan (Package) and modify its parameters.
Usage: hitechcloudcli plan-edit --debug id=<ID> name"<TEXT>" description="<TEXT>" emails=<COUNT> ftp=<COUNT> domains=<COUNT> websites=<COUNT> disk=<COUNT> inodes=<COUNT> databases=<COUNT> cpu=<COUNT> ram=<COUNT> bandwidth=<COUNT> feature_set=<DEFAULT>
------------------------
hitechcloudcli plan-usage
Description: Display all users that are currently using the plan.
Usage: hitechcloudcli plan-usage <PLAN_NAME> [--json]
------------------------
hitechcloudcli plan-apply
Description: Change plan for a user and apply new plan limits.
Usage: hitechcloudcli plan-apply <NEW_PLAN_ID> <USERNAME>
------------------------
hitechcloudcli plan-create
Description: Create a new hosting plan (Package) and set its limits.
Usage: hitechcloudcli plan-create name"<TEXT>" description="<TEXT>" emails=<COUNT> ftp=<COUNT> domains=<COUNT> websites=<COUNT> disk=<COUNT> inodes=<COUNT> databases=<COUNT> cpu=<COUNT> ram=<COUNT> bandwidth=<COUNT> feature_set=<NAME>
------------------------
hitechcloudcli php-domain
Description: View or change the PHP version used for a single domain name.
Usage: hitechcloudcli php-domain <domain_name>
------------------------
hitechcloudcli php-ini
Description: View or change php.ini values of any php version for a user.
Usage: hitechcloudcli php-ini <username> <action> <setting> [value]
------------------------
hitechcloudcli php-default
Description: View or change the default PHP version used for new domains added by user.
Usage: hitechcloudcli php-default <username>
------------------------
hitechcloudcli admin
Description: Manage HiTechAdmin service and Administrators.
Usage: hitechcloudcli admin <command> [options]
------------------------
hitechcloudcli waf
Description: Manage CorazaWAF
Usage: hitechcloudcli waf <setting>
------------------------
hitechcloudcli files-calculate_resellers_storage
Description: Calculates total disk usage for all resellers.
Usage: hitechcloudcli files-calculate_resellers_storage
------------------------
hitechcloudcli files-fix_permissions
Description: Fix permissions for users /home directory files inside the container.
Usage: hitechcloudcli files-fix_permissions <USERNAME|--all> [PATH] [--debug]
------------------------
hitechcloudcli files-purge_trash
Description: Auto-purge .Trash folders for users.
Usage: hitechcloudcli files-purge_trash [--user USERNAME] [--force] [--dry-run]
------------------------
hitechcloudcli firewall-reset
Description: Deletes all container related ports from CSF and opens exposed ports.
------------------------
hitechcloudcli domains-dnssec
Description: Enable DNSSEC for a domain and re-sign after changes in the zone.
Usage: hitechcloudcli domains-dnssec <DOMAIN> [--update | --check]
------------------------
hitechcloudcli domains-update_ns
Description: Change nameservers for a single or all dns zones.
Usage: hitechcloudcli domains-update_ns <DOMAIN_NAME>
------------------------
hitechcloudcli domains-all
Description: Lists all domain names currently hosted on the server.
Usage: hitechcloudcli domains-all [--docroot] [--php_version] [--json]
------------------------
hitechcloudcli domains-varnish
Description: Check Varnish status for domain, enable/disable Varnish caching.
Usage: hitechcloudcli domains-varnish <DOMAIN-NAME> [on|off] [--short]
------------------------
hitechcloudcli domains-hsts
Description: Manage HSTS for a domain
Usage: hitechcloudcli domains-hsts <domain> [enable|disable]
------------------------
hitechcloudcli domains-add
Description: Add a domain name for user.
Usage: hitechcloudcli domains-add <DOMAIN_NAME> <USERNAME> [--docroot DOCUMENT_ROOT] [--php_version N.N] [--skip_caddy] [--skip_vhost] [--skip_containers] [--skip_dns] [--skip-sentinel] [--debug] [--hs_ed25519_public_key KEY --hs_ed25519_secret_key KEY]
------------------------
hitechcloudcli domains-delete
Description: Delete a domain name.
Usage: hitechcloudcli domains-delete <DOMAIN_NAME> --debug
------------------------
hitechcloudcli domains-whoowns
Description: Check which username owns a certain domain name.
Usage: hitechcloudcli domains-whoowns <DOMAIN-NAME> [--context] [--docroot]
------------------------
hitechcloudcli domains-unsuspend
Description: Unsuspend a domain name
Usage: hitechcloudcli domains-unsuspend <DOMAIN-NAME>
------------------------
hitechcloudcli domains-dns
Description: Manage DNS zones and the DNS server via subcommands (create, delete, reload, list, check, start/stop/restart, etc).
Usage: hitechcloudcli domains-dns <reconfig|check|reload|show|list|create|delete|default|count|config|start|restart|hard-restart|stop> [DOMAIN]
------------------------
hitechcloudcli domains-user
Description: Lists all domain names currently owned by a specific user.
Usage: hitechcloudcli domains-user <USERNAME> [--docroot|--php_version]
------------------------
hitechcloudcli domains-suspend
Description: Suspend a domain name
Usage: hitechcloudcli domains-suspend <DOMAIN-NAME>
------------------------
hitechcloudcli domains-ssl
Description: Check SSL for domain, add custom certificate, view files.
Usage: hitechcloudcli domains-ssl <DOMAIN_NAME> [status|info|logs|auto|custom] [path/to/fullchain.pem path/to/key.pem]
------------------------
hitechcloudcli domains-edit
Description: Open a domain's docroot directory, or its webserver vhost config file in nano with --ws.
Usage: hitechcloudcli domains-edit <DOMAIN_NAME> [--ws]
------------------------
hitechcloudcli domains-docroot
Description: View and change docroot for a domain.
Usage: hitechcloudcli domains-docroot <DOMAIN_NAME> [update </var/www/html/>] --debug
------------------------
hitechcloudcli domains-stats
Description: Parse caddy access logs for users domains and generate static html
Usage: hitechcloudcli domains-stats
------------------------
hitechcloudcli proxy
Description: View and change proxy path '/hitechcloud' for accessing hitechcloud.
Usage: hitechcloudcli proxy [set <path>|default]
------------------------
hitechcloudcli error
Description: Displays information for specific error ID received in HiTechCloud UI.
Usage: hitechcloudcli error <ID_HERE>
------------------------
hitechcloudcli locale
Description: Install locales (Languages) for HiTechCloud UI.
Usage: hitechcloudcli locale <CODE>