I am connecting using a username / private key. This is not a private key or firewall issue as connections using PuTTY work fine.
I used PuTTYGen to export the key as outlined here: https://kb.paessler.com/knowledgebase/en/topic/32883-how-can-i-use-private-keys-for-my-ssh-sensors-with-prtg
How can I view the logs within PRTG (or the Linux machine being monitored for that matter) to find out what is wrong?
Article Comments
I am definitely using an RSA key - I followed the previously mentioned article on exporting the key to the letter...
Oct, 2012 - Permalink
Maybe the host is using a DSA-Hostkey.
You can evalute this in your Windows-Registry. When you log in to the PRTG-Machine as the user that was able to establish a putty-connection you can find a list of stored host-keys at the key HKCU\Software\SimonTatham\Putty\SshHostKeys.
The host-keys are stored with a name in the format <encryptionType>@<port>:<ip-address> where the encryption-type "dss" stands for "DSA"-encryption and "rss" for "RSA".
Kind regards
Oct, 2012 - Permalink
Hello,
I'm having the same problem trying to add a SSH disk free sensor, it doesn't return any data. I did what you have written, and the key begins with "dss", which means this is a DSA-key. Does PRTG support DSA-key now ?
Regards
Mar, 2014 - Permalink
Hi,
currently PRTG supports DSA for hostkeys but not for userkeys.
Kind regards
Mar, 2014 - Permalink
Hello Stuart,
are you using a RSA- or a DSA-key? Unfortunately we are only supporting RSA-keys but at the moment PRTG doesnt throw an error-message. This will be fixed in the upcoming Stable release.
Kind regards
Oct, 2012 - Permalink