Talk:Don’t Starve Together Dedicated Servers/@comment-26065385-20150201162435/@comment-96953-20150214102729

There are two options.

First, you can install and use the screen utility. If you don't have it already, do an apt-get install screen, then:

screen -S DST

Change to your bin directory, run the server, then press Ctrl-A then D to disconnect your terminal session. It's still running in the background, don't worry, and you can close your SSH session. If you want to reconnect, such as to see the terminal screen or stop the server, just type:

screen -r DST

The second option is to run the server using nohup and in the background. To do so, run it like so:

nohup ./dontstarve_dedicated_server_nullrenderer 2>&1 >>dontstarve.log &

The 2>&1 >dontstarve.log will cause STDOUT and STDERR to be redirected to dontstarve.log so that you can see what the server has output, in case there are any errors.