In this Tutorial, I will be showing you how you can install SSH. To do to this, you must be in the Terminal as a root user. Once you have done this, you can make sure to update the list of packages you have on your server so that you install the most upto date version.
apt-get update; apt-get upgrade
Now that you have done this, you can install the ssh package.
apt-get install openssh-server
You should now have ssh installed and ready to connect to on port 22.