SSH on a ReadyNAS NV+
Running SSH was a step along the way of me becoming more familiar with SSH and running a remote git repository on my ReadyNAS NV+. Note that there are security concerns with opening SSH on your ReadyNAS device and exposing password authentication. It would be fairly trivial to launch a password attach over the SSH connection.SSH defaults to use passwords for authentication. The password is set to your ReadyNAS admin password at the time you install SSH on your ReadyNAS. If this password is to be saved on disk somewhere, for example as part of an SSH configuration on the machine from which you are contacting the ReadyNAS, you may choose to temporarily change your ReadyNAS admin password before installing SSH, and then change the ReadyNAS admin password back afterwards. If you ever need to change the SSH password on the ReadyNAS, just reinstall SSH from System > Update in the ReadyNAS admin browser application.
- Get the SSH bin file from the ReadyNAS web site. Click the Add-ons for RAIDiator 4.1.3+ link and scroll to the EnableRootSSH link. Download the bin file and store it on your local computer.
- Log in as admin on your ReadyNAS using a browser
- Update your ReadyNAS firmware (optional). This is under System > Update. Just click the Check for Updates button.
- Click the Local tab and click Choose File to find the EnableRootSSH.bin file that you previously downloaded. Upload this and follow the prompts.
Then type the ReadyNAS admin password that existed at the time SSH was installed.On my ReadyNAS, my share volumes are under /c and user volumes are under /c/home.
# Use the hostname or IP address of the ReadyNAS
$ ssh root@readynas-hostname
$ cd /c; ls -1SSH can be configured to use public private keys as well. Refer to my later post and OpenSSH Public Key Authentication for more details.Security Alert: Opening up your NAS to SSH with password authentication on a public network is a bad idea. In my situation I’m behind a firewall and simply using SSH for the convenience and to play around with the protocol.