Ubuntu SSHFS doesn’t sync

scpsshsshfsUbuntuubuntu-12.10

I am trying to set up a Ubuntu-machine for web development, and thought i'd start working with SSHFS instead of the annoying FTP-protocol. I installed SSHFS through apt-get. I've created a folder in my documents folder called MyProject. I'm the owner of that folder.

I mount the remote folder to my local folder using

sshfs root@myproject.com:ftp.myproject.com/myproject.com/public_html /home/anton/Documents/MyProject

Followed by my password.
Then the remote folder is indeed mounted. However, the changes i make on my local computer is not reflected on the server. What am i missing here?

Ubuntu 12.10

Best Answer

Add -o cache=no to the command

sshfs root@myproject.com:ftp.myproject.com/myproject.com/public_html /home/anton/Documents/MyProject -o cache=no

The same has been answered here: https://stackoverflow.com/questions/3671350/any-way-to-eliminate-time-lag-with-sshfs

Related Question