CityHost.UA
Help and support

Hestia CP: Useful console commands

The Hestia control panel is multi-functional and offers dozens of functions to choose from, which are available visually in the control panel, so sometimes there is a need to perform some action without logging into the control panel, such as changing a lost password to a user or choosing a different port on which the web server will work. panel interface.

Commands can be executed while working with the server via SSH or WEB-VNC . Below we list the main commands that are most often needed in the work, but the full list with hundreds of other commands can be found in the official documentation of Hestia CP at this link .

Configuration change commands

Sign up for a free SSL certificate on the web interface of the control panel . More details .

 v-add-letsencrypt-host

Change the password to enter the control panel.

You need to pass 2 options — username + new password.

 v-change-user-password admin NewPassWord

Override the default control panel port.

You need to pass 1 option - new port.

 v-change-sys-port 8083

Change the database password.

You need to pass 3 options — control panel username + database name + new password.

 v-change-database-password admin dbName NewPassWord

Redefine IP addresses as connected to the server's network. Useful in case of changing the server IP or adding additional IPs.

 v-update-sys-ip

Information output commands

Display the list of databases created under the user.

You need to pass 1 option - username.

 v-list-databases admin

Display a list of domains (sites) created under the user.

You need to pass 1 option - username.

 v-list-web-domains admin

Display a list of all control panel users.

 v-list-users

Display control panel user information (name, email, number of domains, usage statistics, etc.)

You need to pass 1 option - username.

 v-list-user admin

Display a list of control panel system services and their operating status.

 v-list-sys-services

Display a log of the last user actions in the control panel.

You need to pass 1 option - username.

 v-list-user-log admin

Display IP addresses that are tied to the server and used for sites.

 v-list-sys-ips

Run an out-of-order backup for the selected control panel user. Useful in conjunction with analyzing the logs at the /var/log/hestia/backup.log path to find problems with the backup operation.

You need to pass 1 option - username.

 v-backup-user admin