Server access by key (pem or ppk) in cPanel via WHM
Now you can simply generate a public private key for root server access, directly via WHM / cPanel.
- In whm, search for
“Manage root’s SSH Keys”
. Here you will find 2 options i.e Generate a key and import a key.
2.Click on generate key and give the key a name eg. basezap and enter a password (note it done if you want ppk version of the key , ppk version is generally used to connect server via key).
3. Authorize the key generated by selecting option “Manage authorization” against the public key listed in the WHM itself.
After creating the key, you need to share the private key with the person to whom you want to give root access of the server.
If you want the ppk file, you can click on “view/download key” and there is a option to convert the same.