SSH Access on IOmega/Lenovo IX4-300d NAS

SSH on Iomega / Lenovo IX / PX NAS systems is a hidden feature and meant for support personnel only, AND…. here is how to enable SSH on your device. This allows us to install unsupported Linux servers like SickBeard, SABnzbd, CouchPotato, Transmission…

!!! Use it at your own risk !!!

Enable SSH on IX4-300d

To access the hidden “support” page, open one of the following links with your server IP. Depending on your current firmware, one of these URLs should bring up the support page.

Firmware :
4.0.2.9960+(Lenovo) : http:// [NAS IP]/manage/diagnostics.html
3.3.4.29856(Iomega) : http://[NAS IP]/diagnostics.htm
not working? Try :  http://[NAS IP]/support.html

The following screen will open and you can set a password:

ix4-300D SSH Settings

Now that the SSH service is running on your NAS, you can now connect to your server:

Login
Username : root
Password : soho + password (if password = 123 ==> soho123 )

Shared Folders location
/mnt/pools/A/A0

Connecting - Putty
Fill in your NAS IP, port(default 22) and select connection type “SSH”:

iomega_nas_ssh_putty1

Now click “Open”, the first time, you will get a warning message, click “Yes”:

ddwrtputty2

Now login with username “root” and password soho + password. (if password = 123 ==> soho123 )

iomega_nas_ssh_putty2

You are now connected.

Connecting - Winscp

Fill in your NAS IP, port(default 22), username, password and select connection type “SCP”:

iomega_nas_ssh_winscp1

Now click “Login”

ddwrtwinscp2.1

Winscp may show a message telling the “host key” was not found in cache. Click “Yes”.

iomega_nas_ssh_winscp2

You are now connected.

Connecting - Mac Terminal

Open terminal and enter following line, change the IP to your NAS IP.

ssh root@192.168.1.2

An authentication message will appear, type “yes” and hit enter. Now fill in your password and hit Enter.

macterminalssshkey

You are now connected.

See my other guides for the IX4-300D:
Install Optware
Modify startup script
Minecraft Server
Update your NAS
SABNzbd Server
Transmission Server
NZBGet Server
Silence your NAS Fans
Couchpotato Server
Sickbeard Server
Turn on/off your NAS in Homekit
Fix unremovable Folders

0 0 vote
Article Rating

Leave a Reply

44 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
alfred
alfred
6 years ago

is there a way to only login on ssh with a private key?

Andres
5 years ago
Reply to  Steven

Once you have ssh connected the NAS:
– create root HOME
– modify /etc/passwd to reflect the new home dir for root,
– create .ssh directory (mode 700) in root’s home
– create .file authorized_keys in .ssh
– cp the private key for your account in the client machine you used to connect to NAS

Now if you try ssh root@nas_ip you should not be required for a password.
If you find problems, switch verbose on in your ssh command

Good luck

Lucas
Lucas
4 years ago
Reply to  Andres

How do you make the /root or /home/root to stay after the reboot of the device. Both of the locations are deleted after device reboot. Thanks

WoC
WoC
6 years ago

How did you change the message on the display? Most of all I’m interested in a way of putting the display off after x minutes and on after pushing a button…

Papy Ka
Papy Ka
6 years ago

Hi Steven i desable web acces on my NAS and i want to get it back can you please help me

Papy Ka
Papy Ka
6 years ago
Reply to  Steven

Thanx it’s work but now i want to install web server for ruby on rails on my NAS ! How to ?

Lincoln Maurice (Sthnackenpfefferhausen)

Hey man, you seem to know more about this than most people online. I’d like to switch the media server for UMS (Universal Media Server). It doesn’t seem to let me run apt-get. Any thoughts on why?

Lincoln Maurice (Sthnackenpfefferhausen)

I’m noticing that WGET won’t work either, and it says there’s no space, and I check df -h and it says the root directory is 50MB and it’s all taken up. Thoughts?

alfred
alfred
5 years ago

i succesfully managed to login only with a private key, and also after a reboot it worked. so i made it to only login with a private key.
after a real power down i’m not able to get into the ix4 anymore, i think my .ssh directory is missing.
is there a alternetive way to get into the ix4? or when i upgrade to the latest firmware will the sshd_config overwritten? and so is with the latest firmware possible to get everything to work again?

Alex
Alex
5 years ago

how can I transfer my data from PC to NAS quickly?? )with cable connected in router)

Charlie
5 years ago

Steve – this is great information. You seem to know more than EMC Lenovo support – they have limited knowledge of the inner workings of their own device. Anyhow, I’m trying to install an SSL cert from GoDaddy. I managed to extract a CSR file from the NAS device, but I’m having difficulty installing the CRT file downloaded from GoDaddy using the web interface. Can this be done from OpenSSL? If so, any guidance would be much appreciated.

Andrew
Andrew
4 years ago

Hi Steven, i tried following your instructions for enabling SSH, but it says port 22 is already in use. Does that mean SSH is already enabled, or should I just use a different port?

thanks

Brian Hampton
Brian Hampton
4 years ago

I have 3 of these NAS and want to change the logo and slow down the fans (it’s quite cold where I keep them) but I have a question – Can Firmware be updated after these changes?

ben straw
ben straw
3 years ago

HELP im trying to get a lenovo ix4 300d set up to use as home storage???

Anthony Hughes
Anthony Hughes
3 years ago

Hello Steve
I have an ix4 300d. I am able to enable ssh. I am able to install Optware and the to modify startup script but when i reboot the device the directories in the opt directory have been removed other than the original directories. Am i doing something wrong?is it related to directory permissions? Not sure. Glad of any help

Scott D'Vileskis
Scott D'Vileskis
3 years ago

Steve– A useful option for speeding up these NAS units is adjusting the stripe size. I’ve noticed that mine was rebuilding terribly slow and the default cache size was set to 2048. 16M seems to work much better.

echo 16384 >> /sys/block/md1/md/stripe_cache_size

Someday I’ll write the shell script to auto-adjust the fan speed based on the temperature and send it over too you.

Scott D'Vileskis
Scott D'Vileskis
3 years ago
Reply to  Steven

No, the stripe_cache setting is specific to RAID5 and maybe RAID1.
FYI– during resync (or anytime for that matter), you can run:
cat /proc/mdstat
to check the status of the RAID, including the resync speed.
In my RAID5 (4x Samsung Spinpoint HD204UI 2TB drives) I was getting about 22MB/sec; Bumping up to 16M stripe sped me up to over 40. Of course, the same drives in an actual Linux machine with software raid resync’s at nearly double that.

Scott
Scott
2 years ago

Hi Steven, I’m having an issue where we had some sort of power failure and when I booted the ix4-330d up, I get the USB and Network symbols. I tried upgrading the firmware via USB but get a no zImage message. The appliance gets an IP Address and responds to ping, but I can’t get to the web interface and it refuses telnet/ssh. Any ideas? Thanks.

Scott
Scott
2 years ago
Reply to  Steven

Thanks for the reply. I’ve tried multiple USB’s in multiple formats to try to get this thing going. My boss bit the bullet and ordered another ix4 so we can try to get the data. I think the RAID is fine so we are hoping we can just plug the disks into the new one.

Scott D
Scott D
2 years ago
Reply to  Scott

Scott– Two things– In disk-less NAS units, there is a flash rom that boots the device, assembles the raid, and starts up.. In units that shipped with disks, the flash rom was omitted and the system boots off the disks (a small partition), a system that is a little more dangerous IMHO. The drives are a Linux MD raid. It gets a little tricky with the way Lenovo/Iomega created the volume groups though. If you drop them into a Linux machine, (or any machine and boot an Ubuntu DVD) you should be able to reassemble the array, scan for volume… Read more »

Marius
Marius
1 year ago

Any idea where to put start up scripts in FW 4.1.312.34560 so they won’t be deleted after reboot?

Joachim S. Müller
1 year ago

Have you ever heard of an ix4-300d just losing the shares?
Can I find the configuration of the shares somewhere via ssh?

Joachim S. Müller
1 year ago
Reply to  Steven

Thanks. I am currently copying. Slow, but everything seems to be there.

Matthias Pröll
10 months ago

Does smb know how to access ssh with the latest firmware?