Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Make a console script available remotely with node.js and dnode
JavaScript
branch: master
Failed to load latest commit information.
bin Fixed callback
.gitignore Added dnode dependency
README.md Fixed --port in readme
index.js Fixed callback
package.json Bumped version to v1.1.0

README.md

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.