Securely Connecting to a Unix Server with a Macintosh
Computer
Summary: These instructions will help you
connect to a Unix server from a Macintosh. OS X users can use the built in
Terminal application. See below.
SSH -- what is it?
Secure shell (ssh) is an encrypted alternative to telnet and
remote shell (rsh), wherein each packet is encrypted from the source to the
destination. This prevents your communications (including passwords) from
being 'sniffed' while in transit, as is known to happen with traditional telnet
and rsh.
Using SSH insures that your data packets are only readable
by you and the computer to which you are connecting. Nifty Telnet SSH is
a free version of SSH for the Macintosh that works with OS 9 and earlier.
If you have OS X, use the built in Terminal application.
OS 10 (X)
Terminal
If you have OS X, it comes with an application called Terminal built
in to the Operating System. It's available in the Applications > Utilities
folder.
- Launch Terminal.
- At the $ sign prompt, type: ssh ucinetid@host (for example,
qsmith@ea.nacs.uci.edu)
- Type in your password, when prompted.
- If you are asked about accepting an encryption key, say yes.
- You will now be logged into your account.
OS 9
OS 9 and earlier did not have a built in program to connect to a Unix server.
You can download and install free software that will allow you to make an
SSH connection.
Downloading Nifty Telnet SSH
- NOTE: Before downloading Nifty Telnet, check to see if you have Stuffit
Expander. If not, visit the Aladdin website to download and install Stuffit
Expander (http://www.aladdinsys.com/expander/expander_mac_login.html).
- Once Stuffit Expander has been installed, download Nifty Telnet SSH.
It is available from the author's (Jonas Walldén) site
(http://www.lysator.liu.se/~jonasw/freeware/niftyssh/) and also from the Mac
Archive (http://mac.nacs.uci.edu/download/NiftyTelnetSSH.hqx) You must
be connected from a UCI domain to connect to the Mac Archive.
- After Nifty Telnet SSH has been downloaded, Stuffit Expander will expand
the file and create a niftytelnet-1.1-ssh-r3 folder
on the desktop. Open the folder and double click on the Nifty Telnet 1.1 SSH
r3 icon to start the program. (Fig. 1)
Figure 1
Configuring Nifty Telnet SSH
-
Once the program starts, click on File and from the available
menu options choose New Connection. (Fig. 2)

Fig. 2
- This brings up the New Connection window. Click the Edit button. (Fig.
3)

Fig. 3
- Clicking on Edit brings up the Telnet Shortcut window (Fig.
4). The following fields will need to be changed:
- Shortcut Name - Enter a general name for the server
- in this example it is EA.
- Host Name - Enter the host server name you want
to connect to: examples are ea.nacs.uci.edu (students) or e4e.nacs.uci.edu
(faculty/staff)
- User Name - Type in the user name you use to connect
to the server (your UCInetID, for example qsmith)
- Emulation - Choose VT-100 as the emulated terminal
type from the list
- Protocol - Choose SSH-3DES as the protocol to
use.

Fig. 4
- After configuring the Telnet Shortcut click on OK.
Connecting with Nifty Telnet
- Return back to the New Connection window. If any additional connections
are to be configured click New at this point.
NOTE: The newly created shortcut (EA in our example)
should now be listed under the Shortcuts window.
- Select the connection you want and click Connect
to open the newly created shortcut.
- After clicking on Connect, this will bring up the Host Identification Alert
window (Fig. 5). Make sure that you click on the
Accept & Save button.

Fig. 5
- Following this, you will be presented with the SSH Login window, where you
will be prompted to enter your username and password. If you configured the
shortcut with your username, it will already be entered in the username field.
Finally click on Login to connect.
- The familiar terminal window should appear at this time, showing that you
are connected. (Fig. 6) Your window may look
different than this.

Fig. 6