Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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).

why?

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.