Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
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!