Skip to content

Instantly share code, notes, and snippets.

View adanacs's full-sized avatar

Dave Glason adanacs

View GitHub Profile
@adanacs
adanacs / gist:80ea61edc1240d25c7d8d144f6e6608d
Last active March 5, 2024 06:15
Setup Git on WD My Cloud EX2 Ultra

--Setup Git on WD My Cloud EX2 Ultra

  • Turn on SSH
  • Install Git (Hi, just download git from EX2 repository - http://downloads.wdc.com/apps/WDMyCloudEX2/git/WDMyCloudEX2_git_1.40.bin55 open it in HEX editor - and change 4B 69 6E 67 73 43 61 5A (KingsCaZ) to 47 72 61 6E 64 54 65 5A (GrandTeZ) at first string. Save it, and then do install it over "Install an app manually" link in AppStore tab.
  • Create repo folder and make group writeable
  • Create a user and add to group
  • Update user account to point to user share folder
  • Create SSH Key and copy .pub to /shares/user/.ssh/authorized_keys
  • Set permissions cd /shares/user; chown user . ; chmod 0755 . ; chown -R user .ssh ; chmod go-rw -R .ssh