Basic Client Use

When you run the GUI client application (typically via the desktop icon or the Start menu), it displays a terminal window. To initiate an outgoing connection, do one of the following:

  • Click on the Connect toolbar icon.

  • Use the File/Connect menu item.

  • Press the Enter key or space bar within an unconnected terminal window.

This brings up the Connect To Remote Host dialog shown in Figure 16-1. Fill out the values for the server’s hostname, the remote username (on the server), and the port number (if different from the default 22); select an authentication method from the drop-down menu; and finally click Connect. If the host key for the server has not been seen before, the client prompts for confirmation before saving it, as in Figure 16-2. Respond to the prompts demanded by subsequent dialogs, which depend on the authentication method chosen.

The Connect to Remote Host dialog

Figure 16-1. The Connect to Remote Host dialog

Encountering a previously unknown host key

Figure 16-2. Encountering a previously unknown host key

If authentication succeeds and the server grants access, you can work within the terminal window in Figure 16-3.

You can create additional sessions on the same server by using the New Terminal Window toolbar icon or the Window/New Terminal menu item. These sessions run in separate terminal windows, and are tunneled through different channels ...

Get SSH, The Secure Shell: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.