cPanel Server Management
For 24×7 cPanel Server Management with Monitoring, Unlimited Tech Support, Disaster Recovery, Security updates and much more Signup today!
You need to generate SSH Key ( the private key )on your cpanel server and then update remote server with the authorized_keys
1. Check if .ssh folder already exist under your home directory
(/home/user-name/.shh ).
If not create a folder .ssh
# mkdir .ssh
2. Generate or create SSH key run ssh-keygen command.
# ssh-keygen -t rsa
Press enter for all the below options to save the default settings:
-> Enter file in which to save the key (/Users/exampleuser/.ssh/id_rsa)
-> Enter passphrase (empty for no passphrase)
-> Enter same passphrase again
Now you have created the key pair. You can find all the newly generated files in your .ssh folder.
# ls
id_rsa id_rsa.pub known_hosts
you need to copy the id_rsa.pub file to your remote server .ssh folder and save as file authorized_keys
/home/user-name/.ssh/
Restart sshd.
connect remote server
# ssh root@
cPanel Server Management
AssistanZ is a pioneer in offering 24×7 cPanel Server Management Service since 2004. We offer 24×7 cPanel Server Management
cPanel Server Management
cPanel Installation and Setup
cPanel Server Optimization
cPanel Server Migration
cPanel Server Security and Hardering
cPanel Server Monitoring
cPanel Server Hack Recovery
and Much more