I am trying to mount a remote directory using sshfs, but I'm getting the connection reset by peer error:
Is there a solution for this?
Have you added the user pi to the www-data group?
sudo usermod -a -G www-data pi