Developers

How to SSH on Touch HD 2nd generation devices

- Using a desktop internet browser go to https://RAINMACHINE_IP:8080/api/4/- Scroll down to the /machine section- Look for POST ssh option- Check (for enable) or uncheck (for disable) the enabled checkbox- Click on POST ssh text link to save the option- Reboot the device by clicking on POST reboot option.

Generate a SSH key

ssh-keygen -t rsa -b 4096 -C "RainMachine"

- This will generate a file id_rsa.pub or something similar.- Open the file and copy the text string inside.

Upload the public SSH key

- Access the RainMachine Touch HD 2nd generation device- Using a desktop internet browser go to https://RAINMACHINE_IP:8080/api/4/- Scroll down to POST dev/import/sshkey- Enter the text string from the id_rsa.pub file in the input box below and press the POST dev/import/sshkey link.- Reboot the device by clicking on Post reboot option from the /machine section.

Use SSH

Important

We recommend to change the default password by issuing passwd on command line after connecting with the default credentials: