This procedure will allow connect to your Mybook via the PUTTY tool and ssh protocol. You will then be able to manage your Mybook as a real Linux box , via a command line interface.
This SSH HAck is based on the Mybook-Linux-ssh hack1 ( not Martin Hinner) where a a log file has been added, to help you checking if the hack have been successfull or not.
- You must be able to connect to your PUBLIC share from your computer and browse your files : \\<Mybook>\PUBLIC
where <Mybook> is the ip address of your Mybook.
Installation procedure :
- launch a web browser
- edit the following url and change "Mybook-Ip-Address" with your Mybook IP Address and enter it into the browser
You will be redirected to the Western Digital "Shared Storage Manager" interface :
- Click the button "Click to Download and install"
- wait a few seconds ( typically 10seconds) :
the following message is displayed :
Connect to your PUBLIC share and check the log file \\<Mybook>\PUBLIC\MBWE-SSH-ENABLE.log
A dump of the inetd.conf file is displayed within the MBWE-Enable-SSH.log :
Before the hack , you should see the following line
#ssh stream tcp nowait root /usr/sbin/sshd sshd -i
the # means that ssh will NOT start automatically if you reboot your Mybook.
If the installation is successfull, you should have a line like :
ssh stream tcp nowait root /usr/sbin/sshd sshd -i
without the # character…
REBOOT the Mybook
After this hack is applied, you MUST reboot the Mybook.
Connect to your Mybook
Install the PUTTY tool2 on your Windows computer,
Launch this tool , type the Ip address of your Mybook and use port 22.
Click the "Open" button.
If putty reports "Unable to open connection to <IP address> - Unknown network failure" check that putty is not being blocked by your Firewall or any Net Nanny type programs. Set up putty as an exception in the programs if this is the case.
If putty is OK you will get a dialog about how the remote computer is unknown - do you want to trust it. - Say yes.
You will then get a user name and password prompt
People have suggested the following user names and passwords can be used
Safest way to guarantee a user name and password is to use the Shared Storage Manger web front end to add a new user using the User Management link under the File Sharing tab.
Then login using Putty and SSH with this new user. When entering the user name at the SSH prompt use upper case.
Back to First Steps