Skip to main content
Version: 1.X.X

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

The autocomplete functionality enhances user experience by displaying available HiTechCloudCLI commands. This feature is activated when you type the hitechcloudcli command, add a space, and then press TAB. The command suggestions are dynamically generated by the hitechcloudcli --help script command.

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-migrate
Description: Migrates all data from this server to another.
Usage: hitechcloudcli server-migrate -h <DESTINATION_IP> --user root --password <DESTINATION_PASSWORD>
------------------------
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>
------------------------
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 api-list
Description: List available API endpoints with usage examples.
Usage: hitechcloudcli api-list [--save]
------------------------
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 <install|start|restart|stop|uninstall> [--debug]
------------------------
hitechcloudcli email-quotas
Description: Fixes email permission issues for all domains.
Usage: hitechcloudcli email-quotas
------------------------
hitechcloudcli email-webmail
Description: Display webmail domain or choose webmail software
Usage: hitechcloudcli email-webmail [--debug]
------------------------
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 | --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 docker image.
Usage: hitechcloudcli version
------------------------
hitechcloudcli dev
Description: Overwrite HiTechCloud container files and restart service to apply.
Usage: hitechcloudcli dev [path]
------------------------
hitechcloudcli sentinel
Description: HiTechAdmin Notifications
Usage: hitechcloudcli sentinel [-report|--startup]
------------------------
hitechcloudcli docker-collect_stats
Description: Collect docker usage information for all users.
Usage: hitechcloudcli docker-collect_stats
------------------------
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-images
Description: Check images for updates.
Usage: hitechcloudcli docker-images [--all|<USERNAME>]
------------------------
hitechcloudcli docker-logs
Description: Display log sizes for user and sytem containers
Usage: hitechcloudcli docker-logs [--all|system|<USERNAME>]
------------------------
hitechcloudcli docker-limits
Description: Set global docker 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 users .loginlog that shows last 20 successfull logins.
Usage: hitechcloudcli user-loginlog <USERNAME> [--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> [on|off]
------------------------
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>][--server=<IP_ADDRESS>] [--key=<SSH_KEY_PATH>]
------------------------
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-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-check
Description: Performs comprehensive security checks on user files, Docker daemon 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
------------------------
hitechcloudcli websites-scan
Description: Scan user files for WP sites and add them to SiteManager interface.
Usage: hitechcloudcli websites-scan $username
------------------------
hitechcloudcli websites-all
Description: Lists all websites currently hosted on the server.
Usage: hitechcloudcli websites-all
------------------------
hitechcloudcli websites-user
Description: Lists all websites and domains owned by a specific user.
Usage: hitechcloudcli websites-user <USERNAME> [--json]
------------------------
hitechcloudcli websites-pagespeed
Description: Check Google PageSpeed data for website(s)
Usage: hitechcloudcli websites-pagespeed <DOMAIN> [-all]
------------------------
hitechcloudcli imunify
Description: Install and manage ImunifyAV service.
Usage: hitechcloudcli imunify [status|start|stop|install|update|uninstall]
------------------------
hitechcloudcli config
Description: View / change configuration for users and set defaults for new accounts.
Usage: hitechcloudcli config get <setting_name>
------------------------
hitechcloudcli docker
Description: Manage HiTechCloud system or user containers with lazydocker.
Usage: hitechcloudcli docker [username]
------------------------
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 <USERNAME> <NEW_PLAN_ID>
------------------------
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> [PATH]
------------------------
hitechcloudcli files-purge_trash
Description: Auto-purge .Trash folders for users.
Usage: hitechcloudcli files-purge_trash --user [USERNAME]
------------------------
hitechcloudcli firewall-reset
Description: Deletes all docker 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]
------------------------
hitechcloudcli domains-varnish
Description: Check Varnish status for domain, enable/disable Varnish caching.
Usage: hitechcloudcli domains-varnish <DOMAIN-NAME> [on|off] [--short]
------------------------
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] --debug
------------------------
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 for a domain.
Usage: hitechcloudcli domains-dns <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|auto|custom] [path/to/fullchain.pem path/to/key.pem]
------------------------
hitechcloudcli domains-edit
Description: AEnter docroot for a domain.
Usage: hitechcloudcli domains-edit <DOMAIN_NAME>
------------------------
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 port [set <path>]
------------------------
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>
Was this helpful?