To work with a hosting account through the terminal, you need access via the SSH protocol. On a hosting with DirectAdmin panel, SSH access is opened by default.
For that you will need a login and password from the hosting panel, as well as a hosting server. This data is available in the properties of the hosting order in your personal NIC.UA account. To get them, go to the "Hosting" section and click on the gear-shaped button next to the order.
In the order properties, find the "Hosting settings" section, in which find the data you are looking for.
To connect via the terminal, use the following command (instead of the data from the screenshot, use your order data):
sudo ssh email@example.com -p 2345
Please note that for security reasons a non-standard port is used: 2345.