SSH datasource Auth fail
-
Hy,
I've created an ssh datasource to read the CPU temperature of the host running Mango, to achieve this I've created id_rsa files using ssh-keygen
the datasource is configured in this way considering it is the host running Mango so the ip is 127.0.0.1and the datapoint is:
with a simple query
sudo cat /sys/class/thermal/thermal_zone0/temp;
but the result is not so good:
any idea about how I can solve this?
Thanks, Antonio -
Hi Antonio,
Have you added the public key for the id_rsa to the authorized_keys for the user, i.e.
cat id_rsa.pub >> /home/user/.ssh/authorized_keys
-
Thanks, naturally you're right!