List of useful console commands in Hestia CP

2 October, 2023

The feature of the control panel lies in its multifunctionality. The user is offered dozens of functions available in the control panel. However, there are situations when it is necessary to perform an action without logging into Hestia: changing or recovering a password, selecting a port for the web interface of the panel, etc.

We suggest considering several commands that can be executed while working with the server, using WEB-VNC or SSH. The list includes the most commonly used commands. A complete list is available to the user in the official Hestia CP documentation. 

For configuration changes   

The command v-change-user-password admin NewPassWord helps obtain a free SSL certificate for the control panel interface and change the login password. It requires the transmission of two options — the new password and the username.

The command v-change-sys-port 8083 is used to change the default port of the control panel. It requires the transmission of one option — the new port. 

The command v-change-database-password admin dbName NewPassWord is used to change the database password. It requires the transmission of three options — the control panel username, the new password, and the database name.

The command v-update-sys-ip helps change the IP address connected to the server network. It will be needed during the process of changing the server's IP or for adding new IPs. 

For information retrieval   

The command v-list-databases admin outputs a list of databases created by the user. It requires one option — the username.

The command v-list-web-domains admin provides a list of websites (domains) created by the owner. It requires the application of one option — the username. 

The command v-list-users provides a list of all Hestia users. 

Using v-list-user admin outputs information about the name, number of domains, usage statistics, and email of a specific user. One option is used for transmission — the username.

The command v-list-sys-services outputs a list of system services Hestia and information about their operational status.  

The command v-list-user-log admin outputs the log of actions performed by the user in the control panel recently. The username option is transmitted.

The command v-list-sys-ips helps in outputting the IP addresses associated with the server that are used for websites. 

The path /var/log/hestia/backup.log searches for issues that may arise during backup. It requires the transmission of one option — the username.