• Recent
    • Tags
    • Popular
    • Register
    • Login

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    SSH datasource Auth fail

    Mango Automation general Discussion
    2
    3
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      etantonio
      last edited by

      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
      0_1558367256190_846477f4-afc9-4e8c-95c8-2e9b37075628-immagine.png
      the datasource is configured in this way considering it is the host running Mango so the ip is 127.0.0.1

      0_1558367564116_d4acd136-f06b-4c7b-a4e8-b5a9b8792a6b-immagine.png

      and the datapoint is:

      0_1558367644084_17890d56-79c1-414d-9116-40a5bb28e66d-immagine.png

      with a simple query

      sudo cat /sys/class/thermal/thermal_zone0/temp;

      but the result is not so good:

      0_1558367793712_6e7adb12-4d88-4aef-98dd-23e743bce479-immagine.png

      any idea about how I can solve this?
      Thanks, Antonio

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • E
          etantonio
          last edited by

          Thanks, naturally you're right!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post