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 would like to have remote console access to my minecraft/bukkit server. I want it running in a local console, but at the same time accesible via ssh/telnet. I have heard that screen can supply the feature I need. Any suggestions?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

If you have screen installed --I'm not sure if Arch has it by default-- it's fairly simple process.

In your Tekkit directory type:

$ screen -dmS myTekkitServer ./StartScript.sh

If you run the command above, it will launch your server in a screen session and place it in the background.

screen -list will display the currently running screens and

$ screen -r myTekkitServer

will connect to your detached screen.

Also, if you need to detach from a session once you're attached, just type: Ctrl + A then D

share|improve this answer
    
Wow. Thanks! I am assuming this works with ssh/telnet correct? –  wolfo9999 Apr 13 '13 at 18:06
    
@wolfo9999 Yes, it will work perfectly fine through SSH and/or Telnet. You should really disable/block telnet if you have it on though; it is terribly insecure. –  Rain Apr 13 '13 at 18:22
    
Correct. One of the main reasons for using screen is that it allows someone to seamlessly reconnect ssh/telnet sessions. –  Highspade Apr 13 '13 at 18:25
    
Well thanks for helping! :D I don't use tekkit, but same concept applies because I use a start.sh script to set custom memory allocation. –  wolfo9999 Apr 13 '13 at 20:16

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.