Connecting to the Server

From TBD Enterprises
Jump to: navigation, search
(Windows Instructions)
(Connect to Tunnel Using Minecraft:)
 
Line 1: Line 1:
To log onto the Minecraft server, an SSH tunnel is required.  
+
To log onto the Minecraft server, you first need to create an SSH tunnel.<br/>Before you can do that you need to [[Setting Up Your SSH Account|setup SSH]].
  
== Linux and OS X Instructions ==
+
== Set Up SSH Tunnel to Server ==
 +
===Linux and OS X===
 +
# Open the terminal (Applications/Utilities/Terminal on a Mac).
 +
# Type into the terminal:<br/><code>ssh -NCL 8414:localhost:8414 <username>@208.115.212.56</code>
 +
# You will be prompted for your password. This will create the SSH tunnel. Just leave the window open while you play.
 +
===Windows===
 +
[[File:Putty.png|300px|thumb|right|Putty configuration window]]
 +
# Open [[PuTTY]].
 +
# On the "Category" side bar, navigate to <code>Connection\SSH\Tunnels</code>.
 +
# Under "Add new forwarded port", type: <code>8414</code> in the "Source Port" box and type: <code>localhost:8414</code> in the "Destination" box.
 +
# Press "Add" button.
 +
# On the "Category" side bar, navigate to <code>Connection\Data</code>.
 +
# Under "Login details", type your username into the "Auto-login username" box.
 +
# On the "Category" side bar, return to <code>Session</code>.
 +
# Type: <code>208.115.212.56</code> into the "Host name (or IP address)" box.
 +
# Enter a name to save your configuration as in the "Saved Sessions" box.
 +
# Press "Save" button.
 +
# Double click on the configuration you just saved.
 +
# You will be prompted for your password. This will create the SSH tunnel. Just leave the window open while you play.
 +
# After setting it up the first time, you can skip straight to step 11.
  
Open the terminal (Applications/Utilities/Terminal on a Mac)
+
==Connect to Tunnel Using Minecraft:==
 
+
# Start up Minecraft.
Type into the terminal:
+
# Enter <code> localhost:8414 </code> at the multiplayer connection screen.
<code>
+
[[File:Minecraft-login.png|400px|thumb|left|Minecraft login screen]]
ssh -NCL 8414:localhost:8414 <username>@208.115.212.56
+
</code>
+
 
+
You will be prompted for your password.
+
This will create the SSH tunnel. Just leave the window open while you play.
+
 
+
To connect via Minecraft, enter <code> localhost:8414 </code> as the server's IP.  
+
 
+
To change your SSH password, SSH in to your account:
+
<code>
+
ssh <username>@208.115.212.56
+
</code>
+
Once logged in, enter the command: <code>passwd</code>
+
 
+
== Windows Instructions ==
+
 
+
Coming soon. PuTTY probably required.
+
 
+
In the meantime, [http://www.google.com/search?q=ssh+tunnels+putty here.]
+

Latest revision as of 08:57, 6 October 2010

Personal tools