How can we help?


Comments

5 comments

  • Avatar
    Nicholas

    This will work only for HD-12/16 models not for Mini-8.

  • Avatar
    Trent Hanson

    There isn't a ssh key based login on the mini-8, it uses the incredibly insecure default password of rainmachine. Login: root, Password: rainmachine. I hope they fix this in a future update because of how absolutely insecure it is.

  • Avatar
    George

    I don't think SSH is enabled by default, and you can change the password after you log in the first time.

  • Avatar
    Nicholas

    Yes, SSH is not enabled by default. After enabling it you should change the default password using passwd command.

  • Avatar
    Ralph Becker-Szendy

    Initially, I got the same error message "Invalid request" when uploading the ssh key.  It turns out that you have to copy *all* of the ssh key, including the "ssh-rss" at the beginning, and the identifier "RainMachine" (if you follow the example in the page linked above), then it works.

    It turns out that there is actually no need to generate a special key for the RainMachine.  If you already have an RSA ssh key, you can just use the existing key; it is typically stored in ~/.ssh/id_rsa.pub.

    Once you are able to log in: The resulting key is stored on /data/ssh/authorized_keys.  At this point, you can add other keys.  For example, I want multiple people to be able to log in, so I just copied their keys (by using scp to copy them into /tmp/ on the RainMachine), and then appended them to the existing authorized_keys, which contained the first key.  WARNING: the upload command in the linked document stores the key *without* a trailing newline!  Check for that before appending another key, otherwise you break the file format (or you are lucky like me, are already logged in, and can use vi to repair the file).

    So far, ssh works great.  On to the next task: Install the certificate so web browsers don't whine about the self-signed certificate ...

Please sign in to leave a comment.