Using the Terminal program on a Macintosh computer
Terminal is a program on a Macintosh computer that establishes a Secure Shell (SSH) connection between your local computer and a remote computer by encrypting your password and other data.
Beginning a Terminal session
You will not see any characters or the cursor moving as you type your password. After you press RETURN and see the % prompt, you are logged in.
- Choose the Applications folder.
- Choose the Utilities folder.
- Double-click the Terminal.app icon
(which should look similar to the
- Press RETURN.
- When prompted, type your UNIX (email) password.
- Press RETURN.
- You may also need to set the
terminal type for the Terminal program
to work correctly with UD's servers. To
do so, follow these steps:
- From the Terminal menu, click Preferences.
- Click the Settings tab.
- Click the Advanced button.
- Confirm the terminal type is set to vt100. If it is not, choose vt100 from the pull-down menu.
- Close the Settings window.
- The first time you establish an SSH
connection to a specific computer, you
must accept the remote computer's key
fingerprint to ensure a secure
connection. You will see a window that
looks similar to the following:
- Type yes at the prompt (as illustrated in the above graphic).
- Press RETURN.
- You can now work on the remote
computer by typing UNIX commands and
pressing RETURN after each
- If you wish to connect to a
different server, at the $
ssh yourUDelNetID@<host server name>
and press RETURN.
For example, if you want to log in to strauss, you would type
Type your UNIX password when prompted and press RETURN.
- To delete a word when you type on the command line, press the CONTROL and W keys simultaneously. This key combination will delete the last word you typed.
- If you wish to connect to a different server, at the $ prompt, type:
Printing from Secure Shell sessions
Because the Terminal program establishes a connection to a remote UNIX server, you can print files and email messages to UD's central printers using standard UNIX commands. If, however, you wish to print email messages or files using a local printer (i.e., one directly connected to your computer), follow these steps:
- If you are using Pine to read email, use the Pine E (export) command to save the message to a file.
- Exit or suspend the Pine program.
- Use the UNIX cat command to
display the contents of the file you
wish to print on your terminal screen.
For example, if the file is named
"katmessage", type this command at the
UNIX prompt then
press RETURN to display the
- If necessary, use the scrollbar to the right of the Terminal window to scroll backwards to the point in your session at which the beginning of the file is displayed.
- Highlight the entire display of the file you wish to print.
- From the File menu, select Print.
- Make any printer selections that are necessary.
- Click Print.
Ending your Terminal (SSH) session
To end your Terminal (SSH) session, follow these steps:
At the UNIX % prompt, typeexit
- Press RETURN. You are now logged out from the UNIX server
- Quit the Terminal program by pressing COMMAND-Q (i.e., press the COMMAND key and the Q key simultaneously).