Root Authentication Guide
At this time, JetBackup MC requires Root Access privilege enabled on your server(s) to transfer the SSH keys to your remote server(s) in order to successfully authenticate and establish connection.
Your JetBackup MC root public key is stored here:
/usr/local/jetapps/etc/jetbackupmc/privatekeys/root.rsa.pub
JetBackup MC generates this key automatically upon installation.
First make sure that PermitRootLogin in your SSH configuration file is either set to “yes” or “without-password”.
- Edit the SSH configuration file located here:
/etc/ssh/sshd_config
- Look for the following line on the file and set it to either yes or without-password then save:
PermitRootLogin yes
OR
PermitRootLogin without-password
- Restart the sshd service to apply your changes:
service sshd restart
Authentication Type related information:
1. SSH Key
a. If PermitRootLogin is set to yes,
JetBackupMC will automatically copy the MC root public key to you
remote server(s)
b. If PermitRootLogin is set to
without-password, you will have to manually copy the
contents of MC root public key located here:
/usr/local/jetapps/etc/jetbackupmc/privatekeys/root.rsa.pub
Append the key to JetBackup remote server(s) authorized_keys file located here:
/root/.ssh/authorized_keys
2. SSH Password
For SSH Password Authentication to work, please set PermitRootLogin to yes.
3. WHM API Token
To create an API token, use WHM's Manage API Tokens interface (WHM >> Home >> Development >> Manage API Tokens).
- Click on the 'Generate Token' button.
- Enter the token name.
- Choose the privileges you want to give.
- Make sure to check the 'Everything' privilege.
- Hit the 'save' button.
- Copy the token to a safe place.
Then enter your WHM API token when adding your server.
(For more information about API tokens click on:
https://docs.cpanel.net/whm/development/manage-api-tokens-in-whm/)
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.