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

I've just recently started hosting a Java based server on my Ubuntu Server. I've been learning how to setup everything and I've been feeling pretty good about it's setup.

I currently start the server with the following sh script:



echo "Loading Minecraft Server..."

java -d64 -Xincgc -Xmx1024M -jar craftbukkit.jar nogui

While setting it up, I thought it would also be pretty cool to let some other people help manage the server.

As of currently I've been SSH'ing into my server using PuTTY. I cd to the directory and then run my sh script using ./ This all works great and I can issue commands to the server via my PuTTY client.

The server displays (and has focus?) through the PuTTY client only though. I can't seem to send commands from the host server to the server. How would I send commands from say the host to the Java Server that (has focus?) in the PuTTY client?

The next question is, assuming my Server had multiple users, how could I allow them to interact with the server as well (via SSH)?

share|improve this question
up vote 1 down vote accepted

You might be looking for the screen program.

More specifically, how to allow multiple users to interact with the same screen.

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.