Carnegie Mellon University Website Home Page
 

Connect Remotely

Follow the steps below to connect remotely using Terminal:

  1. Select Go > Applications then Utilities > Terminal.
  2. Do one of the following:
    • Mac OS X 10.4 - select File > Connect to Server.
    • Mac OS X 10.5 - select Shell > New Remote Connection
  3. Under Service, select Secure Shell (ssh).
  4. Under Server click the plus sign. You are prompted to "Enter the name or IP address of a server...". Type the name or address for the host server that you want to access (e.g., unix.andrew.cmu.edu). Click OK.
    Note: This server address will now appear in the Server list. The next time you wish to connect, you can select it from the list.
  5. Type your andrew UserID in the User text box.
  6. Select SSH Protocol 2 from the drop-down list.  (Note: selecting "SSH Automatic" from this list will also work.)
  7. Select the server address from the drop-down list. The server address will appear as ssh-2 userid@host server address
    Where userid is your Andrew userID and host server address is the address of the host server you are trying to connect to. In our example, the server address appears as: ssh-2 userid@unix.andrew.cmu.edu.
  8. Click Connect.
  9. The first time that you connect, you may receive a prompt that references the RSA key fingerprint. Type yes, and then press Return to continue.
  10. Terminal will connect to the host server and prompt you for your Andrew password. Type your password and press Enter. The system prompt (%) appears ready to accept your command.
    Note: If you already have valid kerberos tickets, you will not be prompted for a password but will be automatically logged in.
  11. When you have finished, type Exit to close the Terminal window.

Last Updated: 12/9/08