SSH Client

The SSH Client is the utility that makes SSH connection to another computer possible. It's typically installed by default on Linux systems. If you are on a Windows platform, see the section called "SSH from Windows Machine" below.

SSH Connection

To initiate an SSH connection on a Linux machine, open a Terminal. This process will vary, depending on your platform of choice. On Fedora with Gnome 3, it's under the Applications/All Applications menu. In essence, get to a command line. Once you're there, type the command `ssh <user>@<remote-computer>`. Connecting to my remote machine would look like this: `ssh`. That process is outlined in the section called "Initial Login to the Virtual Machine", look in the upper right corner of the image. Once you've successfully connected, the remote system will prompt you for the password of the account you have requested to access, as shown below.

Figure 5.1. Login via SSH

Login via SSH

Once you connect, you'll be prompted for the account password, as shown above. The "welcome message" will be configured in the section called "SSH Server" section below.

SSH from Windows Machine Top of Page

SSH connections to remote computers from a Windows machine require extra steps. A program called PuTTY is required, and must be installed. There are other utilities available, such as Cygwin , which is more feature rich than PuTTY . In the interest of simplicity, we'll consider the PuTTY utility.

The steps listed immediately below outline the process for setting up a SSH client on a Windows machine. The screenshots below the list show this process as it unfolds.

  1. Download the PuTTY client.
  2. Install the PuTTY client.
  3. Launch the PuTTY client.
  4. Connect with the PuTTY client.

Figure 5.2. PuTTY Home Page

PuTTY Home Page

The screenshot immediately above shows the PuTTY home page with link to the download page. Follow the link.

Figure 5.3. PuTTY Download

PuTTY Download

Above you can see various versions of PuTTY available.

Figure 5.4. PuTTY Download #2

PuTTY Download #2

The .exe is the client to download. That's all we need.

Figure 5.5. Save the PuTTY Binary

Save the PuTTY Binary

Choose to save the binary. Typically, it'll default to be saved in the Downloads folder.

Figure 5.6. PuTTY Launch

PuTTY Launch

The binary can be moved if desired. To launch the client, just double-click the file.

Once the client launches, fill in the particulars of the connection, as shown. Make sure to fill in the information that describes your website. You can also connect by IP address if DNS isn't configured. If you need the particulars for the connection, see Figure 2.9, "Create a Rackspace Server, Step #8".

Figure 5.7. PuTTY Login Prompt

PuTTY Login Prompt

You should be propmted for the password of the account you're using to connect to the machine.

Figure 5.8. PuTTY Login Success

PuTTY Login Success

Once you've successfully connected, you should see something similar to the image above. In the next section, we'll look at how to configure the SSH server, and establish a "welcome banner".