Setup script after WD Cloud firmware updated
You lose all custom configurations whenever the WD Cloud firmware has updated. Below scripts help me to revert my settings,
- Update SSH server to use public key authentication
Login to root on the WD Cloud and create .ssh on the server side,
Upload public key from your machine to the server, Replace nas with your host/IP address.
scp ~/.ssh/id_rsa.pub root@nas:~/.ssh/authorized_keys
on the server-side
chmod go-rwx ~/.ssh sed -i.bak "s/PubkeyAuthentication no/PubkeyAuthentication yes/" /etc/ssh/sshd_config /etc/init.d/ssh restart
You can ssh to the nas without entering the password. In short,
- If you do not want to build packages, you can download from https://app.box.com/wdcloud. I will try to keep it up-to-date.
- Transmission, joe, etc
- and more