Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are planning to replace all our Windows Machine (around 25) of PHP development team to ubuntu and we found everything perfect here however, we have two major problems as we work in team, we do development on remote Linux server and we need to access remote folder on local machine

All major PHP editor does not allow to open file from bookmarked folder or remote folder mapped using connect to server options, it does not show at all.

To solve this problem we are trying to map folders using sshfs and we used many ways but we are not able to permanently map the folder, every time we restart it looses the mount

we also tried to use tutorial here

this is working and creates a folder for mapping but it throws permission error and does not show any contents.

We also tried to bookmark map using sshfs but bookmark does not work after reboot

Can any one suggest best and simple way to permanently mount the folder or better way to access remote folder? or Can anyone suggest best approach to do a PHP development with a team on remote Linux server and client machine being ubuntu?

share|improve this question
Why not use a source version control? (eg. Git) – Dan Aug 29 '12 at 12:17

I would say SSHFS was intended more for ad-hoc usage rather than permanent connections.

The right tool is probably NFS (Network File System). Information about setting this up in Ubuntu can be found here.

share|improve this answer
Please include details from the link as if the linked site were to go down, the answer would not be as useful to future visitors. – hexafraction Aug 29 '12 at 12:26
Hi Tried using NFS and it seems promising – Chirag Aug 30 '12 at 14:15

Use git or any other version control system to

  • Pull code from the server
  • Do changes locally
  • Push the changed files back to the server
share|improve this answer
We cannot use git due to few reason, our policy does not allow to upload code to any remote server and also we do development on same single Linux server, everyone has their own shell access to same server, they use CVS check on same server and do all development there, this way we dont need to create multiple development environemnt – Chirag Aug 30 '12 at 6:45
HI tried using NFS and looks okay, and after reboot I could reconnect using bookmark though it takes some time to list folders. however, it does not allow me to edit files, it shows lock, on server NFS shared is standard no specific configuration. can any one advise on possible problem ? – Chirag Aug 30 '12 at 14:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.