SSH credentials management

An SSH credential is the host account RMON uses to install and manage agents. Save it under Admin area → SSH credentials, then select it on one or more server records. RMON does not create the operating-system account on the host.

Choose the credential fields

Scroll horizontally to view the full table.

FieldExampleHow to choose it
NameProduction monitoring hostsAn alias you can recognize in the server's Credentials selector.
UsernamermonThe SSH account already present on each target host.
SSH keyEnabledEnable to authenticate with an uploaded private key; disable to enter the SSH account password.
GroupProductionThe credential's owner. The selector depends on your role.
SharedDisabledEnable only when other groups should be able to use this credential. Ownership remains with the original group.

Save and upload a private key

  1. Click + Add, fill in the fields above and save the credential.
  2. In the Upload SSH key section, select that credential from the list.
  3. Paste the entire private key into Key, including its opening and closing lines and line breaks.
  4. If the key is encrypted, enter its SSH key passphrase. Otherwise leave the passphrase blank.
  5. Click Upload. Assign the credential to the server and run Check SSH.
The key upload section applies to the credential selected in its first field
The key upload section applies to the credential selected in its first field. RMON 1.4, demonstration data. Click to enlarge.

The matching public key must already be authorized on the host. A public key cannot replace the private key in the upload field. The key passphrase unlocks the private key; the account password is used for password authentication.

Use password authentication

Disable SSH key and enter the host account password in the field that appears. Save the credential and test it on the server. The account still needs non-interactive sudo privileges for installation; the SSH password field is not a separate sudo-password prompt.

Replace a key or password

  1. Identify every server that uses the credential. A change affects future SSH operations on all of them.
  2. For a key change, authorize the new public key on those hosts first, keeping the old working key until validation is complete.
  3. Upload the new private key and its passphrase to the existing credential, or create a separate credential and move hosts individually.
  4. Run Check SSH on each affected host. Remove obsolete host access only after the replacement is confirmed.

Changing the credential does not reinstall an agent or alter its monitoring targets. Keep the database and application keys together in backups so saved credentials remain usable after restoration.

If the credential cannot be used

If it is missing from the server selector, check the active group, owner group and sharing. If SSH authentication fails, check the host username, authorized public key and passphrase. If login succeeds but installation fails with a sudo error, correct the host account's privileges. Use the SSH troubleshooting table to distinguish these cases.