We will guide you on how to set up SSH (Secure Shell).
On mixhost, SSH can only be used with public key authentication.
*There are some restrictions on the commands that can be used with SSH.
* SSH cannot be used with root privileges.
We apologize for the inconvenience, but we do not provide support for how to use Linux commands.
Please refer to our support policy for details on what is supported.
Configuring SSH on cPanel
STEP 1: Log in to cPanel.
Log in to cPanel.
STEP 2: Open SSH Access.
Click SSH Access.
STEP 3: Click Manage SSH Keys.
STEP 4: Click Generate a New Key.
STEP 5: Generating a Public Key.
- Key Name (This value defaults to “id_rsa”.)
To use a custom key name, enter the key name in the Key Name. - Key Password
Enter the new password. - Reenter Password
Confirm the new password. - Key Type
Select the desired key type.
- DSA keys provide quicker key generation and signing times.
- RSA keys provide quicker verification times.
- Key Size
Greater key sizes provide more security, but they result in larger file sizes and slower authentication times.
STEP 6: Save and generate a key.
Click Generate Key, confirm that the key generation is complete, and click Go Back.
STEP 7: Public key authorization.
Click Manage.
STEP 8: Click authorize.
STEP 9: Complete to key authorize.
Key "key name" authorized. Confirm that it is displayed and click Go Back.
Download private key
Once the public key is authorized, download the private key.
STEP 1: Click View/Download.
STEP 2: Download the OpenSSH format key.
Click Download if your SSH client uses OpenSSH formatted keys.
STEP 3: Convert PuTTY format key.
If your SSH client requires a key in PuTTY format, check the “Key name” Convert key to the PPK format item, enter the password for the key, then click Convert.
STEP 4: Download the PuTTY format key.
Download after the conversion is complete.
How to connect with PuTTY
How to install PuTTY
STEP 1: Download PuTTYIf.
you don't have PuTTY, you can download it from the PuTTY Download Page.
If you don't want to use the installer, download the zip format file. If you want to use the installer, download the msi format file.
STEP 2: Install PuTTY.
If the file is in zip format, expand the file, and if it is in msi format, follow the instructions displayed on the screen to complete the installation.
Setting PuTTY
STEP 1: Launch PuTTY
Start PUTTY.EXE.
STEP 2: Set private key.
Check Connection > SSH on the left and click + to the left of SSH to expand it further.
STEP 3: Select the private key.
Click Auth in the expanded menu, click Browse for Private key file for authentication in the Authentication parameters item, and select the private key in PuTTY format that you downloaded earlier.
STEP 4: Set up account information.
Click Session at the top of the left menu and enter the server name or initial domain in the Host Name (or IP address) field. After that, enter an easy-to-remember name in the Saved Sessions item and click Save on the right to save the settings.
STEP 5: Execute connection.
Select a saved session and click Open to initiate a connection.
STEP 6: Security confirmation.
A security alert will be displayed only for the first time, so click Yes.
STEP 7: Login (enter user name).
When you see the black screen, enter your server account username and press Enter.
STEP 8: Login (enter password).
When asked for a passphrase, enter the password for the previous key and press Enter.
*The entered character string is not displayed, but it is normal.
STEP 9: Complete the connection.
Use commands to perform operations.