×
Back to book

Connect to your server

A step by step guide to connecting to your application server via ssh.

Below are the steps used to connect to your application server via ssh for both Windows and Mac.

Windows

Overview

PuTTY is a free software application for Windows 95, 98, XP, Vista, and 7 which can be used to make an SSH connection to your server.

Requirements

Before you start, you'll need:

Instructions

  1. Download PuTTY. The "putty.exe" download is good for basic SSH.
  2. Save the download to your C:\WINDOWS folder.
  3. If you want to make a link to PuTTY on your desktop:
    • Open the C:\WINDOWS folder in Windows Explorer.
    • Right click on the putty.exe file and select Send To > Desktop
  4. Double-click on the putty.exe program or the desktop shortcut to launch the application.
    NB: You may receive a warning that the publisher cannot be verified. If you have downloaded this program from a good source, select Run. While (mt) Media Temple cannot vouch for third-party servers, the link provided above is generally a good source for PuTTY.
  5. Enter your connection settings:
    • Host Name: user@192.168.56.101
    • Port: 22 (leave as default)
    • Connection Type: SSH (leave as default)
  6. You can choose tp Save the Session if you like. Type a name into "Saved Sessions", then click "Save".
  7. Click Open to start the SSH session.
  8. If this is your first time connecting to the server from this computer, you will see the following output. Accept the connection by clicking Yes.
  9. Once the SSH Connection is open, you should see a terminal prompt asking for your password:
  10. Enter your password. Please note that you will NOT see your cursor moving, or any characters typed (such as **), when typing your password. This is a standard PuTTY security feature. Hit enter.
  11. You are now logged into your server with SSH. You should see output like this:

Mac

Overview

This section outlines how to connect to your application server over SSH using the Terminal application in OS X.

Instructions

  1. Open your Terminal application.

  2. You will see a window with a $ symbol and a blinking cursor. This is your basic command prompt. From here, you may issue the command to establish the SSH connection to your server.

  3. To ssh into your application server type in the following and press enter:

ssh user@192.168.56.101
  1. Immediately after issuing this command, your computer will attempt to establish a connection to your server. If it is your first time connecting to that server, you will see a message asking you to confirm the identity of the machine:
The authenticity of host '192.168.56.101 (xxx.xxx.xxx.xxx)' can't be established.
RSA key fingerprint is f9:9b:06:11:75:d4:1f:d1:3c:51:0d:22:4a:13:ff:9f.
Are you sure you want to continue connecting (yes/no)  _

Make sure you entered the address properly, and type yes, followed by the return key, to proceed.

  1. You will then be prompted to enter your password:
user@192.168.56.101's password: _ 
  1. Type or copy/paste your SSH user's password into Terminal. You will not see the cursor move while entering your password. This is normal. Once you are finished inputting your password, press return on your keyboard. At that point, you will be connected to your server remotely through SSH.