Linux – Managing a server over SSH

fedoralinuxopensshssh

I am running a Minecraft server on Fedora 15. I have openssh-server installed on the server and I can connect to it just fine.

Right now, the Minecraft server software opens into a terminal when the user logs in. The server software has a console that accepts commands and prints status updates and stuff like that. I am wondering if there is a way that I can access that already-running server console remotely over SSH.

Best Answer

Use screen. You'll find it in the package manager.

So start a screen session, then start the minecraft server.

Next time you ssh to the box, you can screen -r and it will bring the session back.

Related Question