Skip to Main Content

SSH - How to Use


Secure Shell (SSH) allows you to run applications that may not be installed on your workstation. You can use Secure Shell both on campus and off. Secure Shell applications can directly access your network storage (ie. N: drive).

Click here for Macintosh instructions

How to use SSH Secure Shell on a Windows PC

You will need to have both an SSH client and an X Window client installed. We recommend PuTTY and XMing, respectively. Contact the helpdesk if you need installation instructions.

    • Launch PuTTY. On a windows PC, this is done by clicking the "PuTTY" icon under Start->All Programs->PuTTY.   
    • Type for the Host Name.
    • Make sure that the Port is 22 and the Connection type is SSH. These are the defaults, so they should not need to be changed.
    • Click the "Open" button at the bottom of the window. A text-based login window will appear.

    • Type your UNID (u0123456, for example) in the "login as: " prompt.
    • Enter your UNID password. Please note that the screen will not show progress as you type. Hit enter after you finish typing your password.
    • If this is your first time logging in via SSH, you will be prompted with "Host Identification". Click Yes to allow your computer to continue connecting.

    • You should now be presented with a command prompt. From here you can type the name of the application you want to run (ie. pine).

For command line based programs, this is as far as you need to go. If you need to run an application that uses a graphical interface, rather than command based, then launch an X-Windows emulator such as X-Win32. You also need to enable X-11 forwarding in Secure Shell.

    • Launch X-Win32. Note that if you use X-Win32, it is not necessary to select a "Connect Method".

    • If you are prompted for a Connect Method when you launch X-Win32, click Cancel.

    • X-Win32 will appear as a small blue "X" next to the clock on your windows taskbar.

    • To enable X-11 forwarding, click "Settings" from the "Edit" menu in the Secure Shell window.

    • Click "Tunneling" under "Profile Settings"

    • Check the box next to "Tunnel X11 connections", then click OK

    • Log out, then back in for the changes to take affect. You can log out by clicking "Disconnect" from the file menu, or the "Disconnect" button, or by typing "exit" at the command prompt.

  • Log back in following the instructions above and you are ready to launch your application. Type the application's name at the command prompt (ie. sas).



How to use SSH on a Mac running OS X (10.4 and later)


SSH allows you to run applications that may not be installed on your workstation. You can use SSH both on campus and off. SSH applications can directly access your network storage (ie. home drive).


    • First, open a Finder window and navigate to Utilities, then choose Terminal
    • You should next be presented with a terminal window (In this example we used a host named cmac-admin and the user st6024

    • Connect to the SSH server by typing "ssh -X" (without the quotes)

    • If this is your first time connecting, you will receive a prompt about the "authenticity of host", type "yes"

    • Enter your password when prompted

    • You should now have a command prompt, which you can type the name of the application you wish to run (SAS was used in this example).

    • The application should appear shortly (SAS again in this example)

    • With SAS, the application may launch "minimized" meaning you will need to "Restore" it to window by clicking it from the Mac Launch bar
    • Here is what the final result of running SAS should look like


You can use SSH for remote terminal access to server side applications such as pine and SAS. Click software for a full list of available shell software.

Last Updated: 5/24/18