Skip to content

Instantly share code, notes, and snippets.

@raphaelyancey
Created June 28, 2017 15:45
Show Gist options
  • Save raphaelyancey/b9c6a297b7bb52eb8aba1b4de01cb641 to your computer and use it in GitHub Desktop.
Save raphaelyancey/b9c6a297b7bb52eb8aba1b4de01cb641 to your computer and use it in GitHub Desktop.
One-liner quickly to mount RaspberryPi /home folder for remote editing
# Required:
# `sudo apt-get install nfs-kernel-server rpcbind`
# And after that:
# `sudo echo "/home *(rw,all_squash,no_subtree_check,anonuid=1000,anongid=1000,sync,insecure)" >> /etc/exports`
# /!\ WARNING /!\ Totally insecure !
# Use only on your local network, and only if your
# Raspberry Pi is not accessible from the outside!
# (basically, it allows read/write remote mounting of the /home folder without a password...)
sudo update-rc.d rpcbind enable
sudo service rpcbind restart
sudo service nfs-kernel-server restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment