Support & Learning

To view all product offerings, software details, and pricing, visit overview.

Solutions For NAS/Linux Connection Failed Issue

When using Recoverit to recover data from a NAS device/Linux system, you might encounter connection failed issues. Below are the possible reasons and resolutions for your reference. You may troubleshoot on your own first.

Reason 1 SSH service is disabled. 

If the SSH service on your NAS device is disabled, it may cause the connection to fail. You need to recheck it in your NAS device management.

Solution Go to your NAS device Control Panel” > “Terminal & SNMP” > “Terminal” > make sure to check the option "Enable SSH service"

Note: Different NAS manufacturers have different ways to enable SSH on the NAS servers. Generally, you can locate it at the NAS Management/Control Panel. Below is the example picture of the control panel for the Synology NAS device. 

Reason 2 Your account is not granted Administrator or Root permissions properly.

If your NAS device/Linux system account is not granted Administrator permission or Root permission, it can’t be connected successfully. It is the prerequisite for a successful connection to have an account with Administrator/Root permission.

Solution

  • For NAS devices

Take the Synology NAS device as an example, you may go to “Control Panel” > “User and Group” and then set the administrator permission accordingly.

Note: The option name may vary across different NAS manufacturers. You may look through the NAS manufacturer's knowledge base to learn the corresponding option name.

  • For Linux system:

You need to use the Linux command line to set the administrator/root permission.

1. Enter your Linux system and run the command line.

2. Open and edit the etc/sudoers file: Locate the line below and uncomment it by removing the hashmark #.
## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL

3. Use the below command to add the user to the root group wheel.
#usermod-g root administrators

4. After modification, you can log in with your administrator account. And then use the command "su -" to acquire the root permission.

Reason 3 Your IP address is incorrect.

Solution  Make sure that you enter the correct IP address. 

Reason 4 User Account or Password is incorrect.

Solution Please recheck and make sure you fill in the correct User Account and Password. It is recommended to select a clear text display when entering the password. 

Reason 5 SSH service was disabled or IP or Port is incorrect.

Solution It is suggested to go to “Control Panel”>“Terminal& SNMP”>“Terminal”, and recheck the SSH service status and port settings. You may clear and fill in them again to see if it works. 

Reasons 6 SSH Services error (There are errors appeared when reading SSH service protocol)

Solution The port you entered might be incorrect. Please go to "Control Panel” > “Terminal& SNMP” > “Terminal” to further check and try again. 

In conclusion

To ensure a successful connection to a NAS device/Linux system, the first two solutions (Enabling SSH service and granting administrator/root permissions to your account)are the most basic and important. You have to make sure you set them successfully and correctly.

If there are still problems, you may refer to other possible reasons, and solutions mentioned above to check and try again. 

Did this help?

More ways to get help

Account Center

Sign in with Wondershare ID to get invoice, redeem serial number, cancel subscription, etc.

Contact us

Can’t find the answers you’re looking for? We’re here to help.