PRTG Manual: Monitoring via SSH
Monitoring via Secure Shell (SSH) enables you to gather performance and system data from many Linux and Unix distributions, as well as from certain Mac OS X systems. If your system is supported, this monitoring technology works without any additional software on the target systems.
To monitor remote machines via SSH, PRTG needs the credentials (preferably root access) of the devices. If you use SSH sensors with PRTG, you can enter the necessary credentials in PRTG for the parent device or group, or in the Root group, in the Credentials for Linux/Solaris/macOS (SSH/WBEM) Systems section on the Settings tab. The sensors then inherit these settings by default.
With each scanning interval, PRTG logs in to your devices and queries data by executing specific commands.
For an overview and details about all SSH sensors, see section List of Available Sensor Types.
Because of the plurality of Linux/Unix derivatives, SSH sensors cannot support all distributions on the market. Also, only certain macOS systems are supported.
For a list of successfully tested distributions, see the Knowledge Base: Which Linux or Mac OS distributions are supported by the Linux/Unix sensors (SSH, SNMP)?
PRTG supports authentication via password or via private key.
When you use a private key, ensure the following:
- Provide the key in OpenSSH RSA format.
- The key may not be encrypted! PRTG does not support password-protected keys.
- The key must be provided as an RSA key, you cannot use DSA keys with PRTG!
When you provide an unencrypted RSA private key in OpenSSH RSA format, copy the entire key, including the
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
lines, into the designated text field in PRTG and Save your settings. Once you have pasted in and saved the private key, PRTG shows it as
Please make sure a corresponding public key exists on the target device.
For a detailed description on how to convert and use an existing SSH key, see the Knowledge Base: How can I use private keys for my SSH sensors with PRTG?
Knowledge Base: Which Linux or macOS distributions are supported by the Linux/Unix sensors (SSH, SNMP)?
Knowledge Base: How can I use private keys for my SSH sensors with PRTG?
Knowledge Base: How do I enable SSH on my macOS system?