Before an application can make it onto the Internet, it needs to go into a production environment and be deployed. This multi-part article series will show you how to do this for the Ruby-on-Rails ecommerce application we've been working on. It is excerpted from chapter 12 of the book Practical Rails Projects, written by Eldon Alameda (Apress; ISBN: 1590597818).
Application Deployment - Connecting to the Production Server: SSH (Page 2 of 4 )
We will be using Secure Shell (SSH) throughout this chapter to connect to the production machine. If you haven’t installed the SSH server on your production machine yet, you need to do it now before proceeding. Log in to the production server and execute the following command:
$ sudo apt-get install openssh-server
After the installation is complete, you can start the SSH server with this command:
Note Originally developed by Tatu Ylönen, SSH is a set of standards and protocols that allow you to establish a secure connection to a remote server. We assume that you have a basic understanding of what SSH is and how it can be used. For more information about SSH, see Wikipedia’s entry on SSH (http://en.wikipedia.org/wiki/Secure_Shell).
You are now ready to start installing the software on your production environment.