Running rails project in remote machine

My advice would be to ssh into the box to start the servers. And
perhaps vpn to develop your app remote?

If your developing locally you should have a look at Capistrano to
deploy your application on the remote machine.

/ Richard