How to enable SSH in cPanel

Step by step instructions to enable SSH access in cPanel, generate an SSH key, download the private key and authorize the public SSH key.

How to copy a file from a remote server to my Ecenica server using SSH?

Use the wget utility to copy a file from a URL to your web space. To use wget you need to login to your shared account, or VPS via SSH. Open your SSH client and start a SSH connection. Use the following command, swapping https://www.example.com/file.zip with your target URL The above command will copy the file to your current folder path.

How-to optimize MySQL database via SSH

Problem Mysqltuner shows a warning “Run OPTIMIZE TABLE to defragment tables for better performance” You want to optimise your MySQL database through SSH. Cause MySQL databases can become fragmented over time as database entries are created and deleted. Fragmentation causes MySQL queries to take longer to complete, slowing down your website. Resolution Optimize your MySQL database using the command below: Replace username and database_name with your database details.

How do I login using SSH and PuTTY for Windows?

Connecting to your account using SSH gives you secure control over your account and allows you to execute direct commands. In this article we’ll explain how you can connect to your web hosting via SSH using PuTTY, an SSH terminal for Windows. We also explain how you can convert your Linux PEM SSH key into PPK which PuTTY can use. Before you start Download and install PuTTY on your PC. 1. Convert your PEM SSH key to a PuTTY .PPK file Open PuTTYgen Click Conversions > Import key Select your PEM SSH Key. Change the Key comment to a more