Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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:

#!/bin/bash

clear

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 ./run.sh. 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

1 Answer 1

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

 
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.