To work with SSH on shared hosting, you can use both the terminal built into the panel and many popular clients, such as Putty.
Use cPanel's built-in terminal
To use the terminal, go to the panel from your personal area and go to Extended → Terminal.
In the next menu, in some cases a warning may be displayed, click I understand and want to proceed to continue.
Then enter the necessary commands in the terminal, you can either with files and folders or with other commands like Composer.
Use Putty for access
You can connect to the server via SSH using the ssh client PuTTY.
You can download a russified version of Putty here.
Launch the program. On the page with the basic settings of the PuTTY session:
Host name (or IP address) - specify the IP address of your server or Hostname of the server, which can be found in the properties of the order. Saved Sessions - name of the connection. Port - 20022. Connection type - SSH.
Enter the necessary data and open the session.
A new PuTTY Security Alert window will appear, asking you to accept the public key of your shared hosting server. Click Yes if you trust this host. If you want to connect only once, without adding the key to the cache, click No.
In the PuTTY window that opens, enter your login from the order page and press "Enter".
On the next line, enter your password and press "Enter"
For security reasons, the password you enter does not appear as symbols on the screen.
You will then have access to your user's shell.
Using SSH keys for access.
The default access is login and password authentication, but it is also possible to use keys for access.
Generating a key in cPanel
Then go to cPanel, go to Security → ** SSH Access**.
Next, create a new key pair.
Specify a passphrase and a name.
Once the keys are successfully generated, they will be displayed in the SSSH Access menu, no new keys are allowed by default.
To allow access by the created key, click Manage, then Authorize.
Then download the private key and save it to our SSH client, if necessary you can convert the key to the PPK format, for example, to import it into PuTTY