ReadyNAS OS 6 SSH access makes it possible to login to SSH using public/private key pairs and to allow SSH access for local users.
Here are some important points to consider when using SSH on ReadyNAS:
- SSH access is disabled by default.
- Access by SSH is not discouraged, but is recommended for advanced users only.
- As such, using SSH is at the user's own risk.
- Support is offered for configuring SSH using available options provided in the Admin Page.
- Support will not be offered for using SSH.
- Support may be denied if it is determined that actions taken through SSH have contributed to problems encountered on the ReadyNAS. However, you may factory reset the ReadyNAS and restore data from backup at which point normal support may resume.
- SSH access does not affect the hardware warranty.
- The root password for SSH is the same as the admin user. Change from the default for security purposes. Not changing the default password and enabling SSH leaves you vulnerable to attack.
- Forwarding ports from your firewall to your ReadyNAS makes you more vulnerable to attack.
Below are instructions to assist with the configuration of SSH access. Please use with caution and only where absolutely necessary.
Enabling SSH access for root using password authentication.
- Go to System > Settings > Services.
- Click on SSH.
- When prompted with the support warning, click Yes if you are sure you want to proceed.
- Select Enable SSH and Enable password authentication.
- Click Apply.
- You can now connect to the ReadyNAS through SSH as the root user.
Note: The root password is the same as the admin password. To change the root password, change the admin password via the admin page. Please ensure you use a strong password.
Enabling SSH access for local users using password authentication (local user mode only).
- Go to System > Settings > Services.
- Click on SSH.
- When prompted with the support warning, click Yes if you are sure you want to proceed.
- Select Enable SSH and Enable password authentication.
- Click Apply.
- Go to Accounts > Users.
- Click on a user and select Settings.
- Select SSH and enable Allow shell access.
- Click Apply.
- The user can now connect to the ReadyNAS through SSH with their username and password.
Enabling SSH access for root using a public/private key pair.
- Go to System > Settings > Services.
- Click on SSH.
- When prompted with the support warning, click Yes if you are sure you want to proceed.
- Select Enable SSH. Enable password authentication should be de-selected.
- Click Apply.
- Go to Accounts > Users.
- Click on the admin account and select Settings. The admin and root accounts are linked, so by adding a key for the admin account, it will be added for the root account.
- Select SSH
- Click Import Public Key.
- Browse to the public key for the key pair and then click Upload.
- Enable Allow shell access.
- Deselect the RSYNC ONLY checkbox
- Click Apply.
- You can now connect to the ReadyNAS through SSH as the root user with the private key from the key pair.
- For more detailed instructions on generating and using public/private key pairs with ReadyNAS see SSH log-in using a public/private key pair
Enabling SSH access for local users using a public/private key pair (local user mode only).
- Go to System > Settings > Services.
- Click on SSH.
- When prompted with the support warning, click Yes if you are sure you want to proceed.
- Select Enable SSH. Enable password authentication should be de-selected.
- Click Apply.
- Go to Accounts > Users.
- Click on a user and select Settings.
- Select SSH
- Click Import Public Key.
- Browse to the public key for the key pair and then click Upload.
- Enable Allow shell access.
- Deselect the RSYNC ONLY checkbox
- Click Apply.
- You can now connect to the ReadyNAS through SSH as that user with the private key from the key pair.
- For more detailed instructions on generating and using public/private key pairs with ReadyNAS see SSH log-in using a public/private key pair
Last Updated:11/28/2016
|
Article ID: 30068