Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I ssh to a ubuntu sever, start a web project(Rails), then I can visit this project.

I close the the ssh terminal, then the project says can not find files(view pages,css files and so on).

I put the project in the home folder(/home/byht).


When closing the ssh terminal, the user's folder can not be visited ?

You know, when I put the project in another folder(/usr/local), everything goes well.

share|improve this question

Most likely, the command you issued via ssh was still attached to your terminal. So when you disconnected, that process got stopped. To make sure it keeps running after the disconnect, you can e.g. use the nohup command -- or make sure the process is running as a daemon / started as a service (e.g. service my_job start, see Upstart).

share|improve this answer

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.