Login to cPanel and click SSH Access Click on Manage SSH Keys Click on Import Key In the field, Choose a name for this key type in: id_rsa Leave the fields blank – Paste the Private Key in this box
ssh-copy-id command is used to copy your SSH public key to remote server for password less authentication. Once you have your SSH key generated with ssh-keygen command, you need to run You will be asked to enter password. One you
If you have root WHM access on your Cpanel server and SSH is not working for any reason even after you reset via WHM, you can load SSD with default config. To do this, login to WHM as user root
To change the SSH port login as root, and edit /etc/ssh/sshd_config Find the line that says Port 22 and change 22 to any number between 1024->65535 (above 30000 is best) and save the file. Once done, run: /etc/init.d/sshd restart Now
Allowing the root user to login directly is a major security issue, we’ll show you how to disable it so you can still login as root but just not directly, reducing the security issue. This will force a hacker to
First Take backup of all your files and database Then go to the exact directory where you have your wordpress installed and move the directories wp-admin and wp-includes root@server# mv wp-admin wp-admin-bk root@server# mv wp-includes wp-includes-bk Download the latest wordpress