Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Make a console script available remotely with node.js and dnode
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Remote Terminal

Remote Terminal allows an interactive script to be accessed remotely, though it is recommended to use an SSH tunnel to keep the data private. For something like a Minecraft server, the server is a Java app that runs in a terminal, but only that specific terminal can access it. If you lose connection, then the server can only be communicated with in game. If you run the server with remote terminal as a wrapper, then you can connect to it later and control it, as long as the remote terminal server continues to run. This contains a basic username/password system, but it only md5's the password and compares the hash with the hash on the server.

To start the server:

remote-terminal-server -u JoshTheGeek -p your-password-here java -jar minecraft_server.jar &

To connect to the server:

ssh -fNL 8081:localhost:8081 user@serverAddress
remote-terminal-client -u JoshTheGeek -p your-password-here --port=8081 localhost

That opens a tunnel to user@serverAddress, so port 8081 locally is securely transferred to port 8081 on serverAddress. Then the client connects to the remote terminal server through the tunnel. To kill the tunnel later, just

killall ssh
Something went wrong with that request. Please try again.