LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 09-03-2015, 03:19 PM   #1
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,675

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
WD My Cloud access via Internet


Have a couple of WD MyCloud units..4TB each, DLNA capable, supporting NFS, Samba/Windows, and SSH out of the box, for about $149 each. Great units. If you have IOS, Mac, Android, or Windows, you can load an app and get access to the device from anywhere, over the Internet, and I've enjoyed this immensely while I travel. Nice to be able to stream ANY of my movies (or download them, if the Wifi is slow), from anywhere.

But there's a catch...there is *NO* Linux desktop app. If you're on the local LAN, no problems. Mount it via CIFS or NFS, and use it like any other drive. I finally figured out how to do this over the Internet. Not hard, but you DO need to do a couple of things.
  1. This is a bit nebulous, but it has to be: allow SSH traffic through your firewall to your LAN, and re-direct it to your WD MyCloud. How you do this is up to you, and will vary wildy depending on your hardware. I assign a non-standard port on the external interface of my network, and re-direct it to port 22, to the address of the MyCloud device.
  2. Enable SSH on your MyCloud, through the web interface. Well documented on their site.
  3. The root user ID is 'root', with a default password of 'welc0me'. Log in with it, and CHANGE IT to be something else.
  4. Make a mount point on your Linux system.
  5. Type in:
    Code:
    sshfs root@11.22.33.44:/DataVolume/shares/Public /mount/point
  6. It will prompt you for a password...enter it. It will then be mounted.
  7. Enjoy.
Obviously, replace the '11.22.33.44' with your external IP address, and the /mount/point with whatever your mount-point is.

Sadly, thus far, I CANNOT make it mount with anything else other than the root user ID. However, since it's end-to-end encrypted, I'll live with it.
 
Old 10-26-2015, 07:39 AM   #2
metcommradio
LQ Newbie
 
Registered: Feb 2007
Location: Spain
Distribution: Fedora 22; Archlinux
Posts: 16

Rep: Reputation: 1
Wink

Great information but I have also found an alternative gui solution work well via file manager (Dolphin in my case).

Set up a new Network Folder via the wizard and, as in TB0ne's example, complete the form as follows :

Select Secure Shell (ssh) - click Next >

Name : Give any name to identify the Folder such as "WDCloud"
User : root
Server : your.own.domain or IP address (I use a no-ip domain name so as to never lose my re-connections which can happen in case of eg. a power outage at the remote site)
Port : 22 (this entered by default)
Protocol : sftp (selected by default)
Folder : /DataVolume/shares/Public
Select Unicode (UTF8) from drop-down box
Tick "Create an icon for this remote folder"

After selecting "Save & Connect" > you will be requested for your remote WDCloud password (eg. welc0me) - see TBOne's comment

If all correct, as with any other local directory, you will see your remote folders in the File Manger window

This is a nice feature, hope it is useful
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cloud 5: Hybrid cloud center stage, Microsoft cloud in a box, Red Hat CEO talks cloud LXer Syndicated Linux News 0 10-24-2014 09:42 AM
LXer: Cloud 5: GE all in on public cloud, IBM-SAP cloud partnership, Big data and the cloud LXer Syndicated Linux News 0 10-18-2014 04:41 AM
LXer: Cloud 5: Has cloud killed on-prem software, the enterprise cloud wars, and cloud computing and LXer Syndicated Linux News 0 08-22-2014 11:40 AM
LXer: Cloud 5: Microsoft's Internet of Things, what the cloud means to retail and why SMBs should th LXer Syndicated Linux News 0 04-18-2014 10:50 AM
Cloud Computing--Internet access as a public utility? LinuxNoobX General 21 02-07-2012 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration