In this Tutorial I am only going to how to install open SSH onto your server so that you can access your server remotely from anywhere you have internet connection.

Explanation Screenshot
First we need to install open SSH. Type the command: sudo apt-get install openssh-server Install open SSH
Next we will need to change the configuration file. Before we do so though we need to copy the configuration file. Use, sudo cp /etc/ssh/sshd_config ~/sshd_config.bak to make a copy of the configuration file and send it to your home directory. Install open SSH
Now open the file, as pictured right, or with text editor of your choice. Install open SSH
Once you have enter the file, find where it says, PermitRootLogin and change it to no. Onece you have done that save and exit the file. **Note: Inside this file you can also change the port the server listens on for SSH, located at the top of the file. If you wish you may change this, but it could cause issues if you don't change the correct settings in your firewall. Install open SSH
Now restart SSH using the command: sudo restart ssh Install open SSH
Now we need to check our firewall to make sure that SSH is allowed through it. **NOTE: In this case I am using Shorewall, depending on what firewall you have installed you will most likely have to look up the proper configuration. If you are using Shorewall open the rules file to ensure SSH is allowed. Your file should look similar to mine. Save and exit the file if you made any changes. Keyboard layout Screen

Keyboard layout Screen

If you made any changes to your firewalls rules make sure you restart the firewall. If you are using Shorewall, you can use the following command: sudo /etc/init.d/shorewall restart Install open SSH
Now we can test to see if SSH is working. I suggest downloading Puddy, free SSH software that is commandline only. To do this use the ifconfig command to find your IP address. Your IP address is located next to inet. In my case my IP address is, 192.168.1.66 Install open SSH
Enter the IP address of the server, leave the port on port 22 and press open. Install open SSH
If you get the following screen it has worked correctly. Just enter your name, then your password. If you get a timed out error, or rejected, you may need to check your firewall settings, and ensure SSH is being allowed through. Install open SSH