

Click on the link next to each command for more information and examples. Many of these commands can be modified through the use of options. The $ sign indicates a terminal command and should not be included when you type it. $ ssh -Y (do NOT include the $ sign) SSH manual page To log in via the X11 terminal, type the following command: Obtain the X11 terminal app by installing XQuartz. HOWEVER, if you want to run something that produces graphics like GrADS or matplotlib in Python, you need the X11 terminal (shown below). Mac OS X has one built-in program that allows you to connect to a Linux machine: the Terminal app. To begin your SSH session, enter your login information and then hit "Open." If you have saved your login information, click the saved session, hit "Load," and then hit "Open." Note that Xming needs to be running before you start your PuTTY SSH session. Xming is a X window system server that enables your computer to accept incoming display information. To avoid doing this each time you log in, return to "Session" (at the top of the left hand menu you may need to scroll up), give your connection a name in the "Saved Sessions" box, and then hit "Save." So if you intend to use GrADS or NCL or Python or any other software that may produce a window when they run, those programs will fail.įollow a two-step process to remedy this. but you won't be able to display any content from the computer. Use port 22 unless instructed otherwise by the system administrator.

This is a screenshot of the window that opens when you start PuTTY:Įnter the hostname (a domain name or an IP address) of the computer you intend to access. This is particularly useful when you have accounts on more than one Linux machine. (To install PuTTY, simply download putty.exe from the PuTTY webpage.) PuTTY is a customizable open source program which allows you to save connection information rather than entering it every time you connect.

There are numerous Windows SSH software options, but this guide will focus on PuTTY.

In this program, you'll enter your username and password for the Linux computer and-depending on the program-enable other settings as well. This enables a secure path for your computer to "talk" to the Linux one. If you're using a non-Linux machine and you want to connect to one running Linux, you need to use a program that provides Secure Shell (SSH) connections. This page focuses on the command line aspect of Linux, largely because the command line is the starting point for remote access. It can be accessed using a GUI (windowed) environment or through the command line. What is Linux? Linux is an open source (free!) operating system capable of performing most of the same tasks as a Windows or Mac computer.
