Secure Shell for WindowsSecure Shell is a program that allows you to log in to a remote UNIX computer over the Internet. It provides a secure connection between the computers by encrypting passwords and other data.
- IT no longer distributes Secure Shell at UD. This page will no longer be updated.
- IT now uses WinSCP and PuTTY for SSH connections with
copland.udel.eduand other central UNIX servers. Visit IT's new help pages for information about connecting and using WinSCP and PuTTY.
November 18, 2014
Remote Connections with Secure Shell
Starting a Secure Shell Session
- Open the SSH Secure Shell Client program (either from the Start menu or a desktop shortcut).
- When the SSH Secure Shell
dialog box appears (shown below), press
- In the Connect to Remote
Host dialog box (shown below), type
- In the Host Name field, type copland.udel.edu
- In the User Name field,
type your UDelNet ID.
- Click Connect.
- In the Enter Password dialog
box (shown below), type your UNIX
- Click OK.
- If the Host Identification
dialog box appears (shown below), and
if you are using your own computer,
click Yes. If you are using a
computer in a public site or someone
else's computer, click No.
Note: This dialog box will only appear if you have never logged in to copland.udel.edu before.
- In the next dialog box, you should
see the UNIX prompt for
copland.udel.edu%). You can now
work with your UNIX account.
Printing from a Secure Shell SessionBecause Secure Shell establishes a connection to a remote UNIX server, you can print files and email messages on the University's central printers using standard UNIX commands. If, however, you wish to print email messages or files using a local printer (e.g., 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 on your screen. For example, if the file is named "katmessage," type this command at the UNIX prompt then press the RETURN key to display the file: cat katmessage
- If necessary, use the scrollbar to the right of the Secure Shell 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.
- With the text highlighted, click the printer icon on the Secure Shell window.
- On the resulting print window, check to be sure the button next to Selection is selected.
- Click OK to print the file or message.
Ending a Secure Shell Session
At the UNIX server's prompt, type
exitand press the ENTER key. You are now logged out of the UNIX server.
- Quit the Secure Shell program.
Transferring Files with Secure ShellThe Secure Shell file transfer window allows you to manage files on your computer and your directories on the UD server, including Web pages, graphics, documents, and more. With the file transfer program you will be able to:
- View any directory or file on your computer and on the server.
- Create, rename, move, and delete folders and files on your computer or within your directory on the server.
- Transfer any file or folder between your computer and your directory on the server.
- Change the permissions of files in your directory on the server.
Transferring Files with Secure Shell
Starting a Connection
- Double-click the SSH Secure Shell
Client desktop icon (or select the
program from the Start menu).
- On the Profiles bar, click Quick Connect.
- In the Enter Password field, type your UNIX password.
- Click OK.
- On the Toolbar, click the File
Transfer Window button, which looks
similar to the following:
You will see the SSH Secure File Transfer window that looks similar to the following:
This window is divided into three main sections: Local Name, Remote Name, and File Transfer Status and History which are described below.
The Local Name pane on the left side of the window lists the files and folders on your computer and enables navigation very similar to that in Windows Explorer. Files can be dragged from your computer (Local Name) to the server (Remote Name) or from the remote server to your computer.
This area displays directories and files in your home directory on the UNIX server. You may also view other server directories and files as needed.
File Transfer Status and History
The status of each uploaded or downloaded file will appear on the Transfer tab. All actions are displayed in an exportable history list. The Queue tab displays files ready to be uploaded or downloaded.
Transferring files using the drag-and-drop method
You can transfer files between your computer and your directory on the server by using the drag-and-drop method as described below.
Note: To transfer files from the server directory to your local computer, follow the directions above, dragging the selected files to the left window pane (Local Name).
- In the Remote Name window
pane (on the right side of the window),
change to the directory to which you
wish to transfer your files, either by
clicking the directory name or by
typing the directory path in the box on
the File bar.
- Select the format of the file you
want to transfer:
- Click (ASCII)
for files that contain only text
or program source code. Examples
are files that end with .html,
.htm, and .txt.
- Click (Binary)
for files that contain formatting
codes such as files produced by
word processor, spreadsheet, or
graphics programs. Examples are
Microsoft Word, Microsoft Excel,
.gif, and .jpg files.
- Click (Auto)
if you are unsure of the format
of the files.
- Click (ASCII) for files that contain only text or program source code. Examples are files that end with .html, .htm, and .txt.
- Select the file you wish to transfer by clicking the file name. If you want to transfer more than one file, hold the CRTL key down and select the other files. Release the CTRL key and mouse button when you have selected your files.
- Click the highlighted file or group of files and drag it to the desired directory on the server in the right window pane.
- Release the mouse button while the file is transferred. If a file name in the destination folder is the same as one you are transferring, you will be asked if it is OK to replace it. You will see the progress of the transfer on the Transfer tab at the bottom of the screen. The file will be listed in the target location if the transfer was successful.
- If you do not see your file in the target location, click the Refresh button .
Transferring files using the upload and download buttons
You can also transfer files between your computer and server by using the download or upload button .
- In the Remote Name window pane, change to the directory to which you wish to transfer your files, either by clicking the directory name or by typing the directory path in the box on the File bar.
- On the Toolbar, click the Download button to move a file from the server to your computer or click the Upload button to transfer a file from your computer to the server.
- In the Select Files dialog box, locate and select the files for downloading or uploading.
- Click the Download or Upload button in the Select Files dialog box. Downloaded files will be transferred to the displayed computer directory, and uploaded files will be placed in the displayed server directory.
Setting File Permissions in Secure Shell
If you are uploading a file that others will view on the Web, you must ensure that Web users will be able to see the pages. Even though people may type the correct Web address to view your site, they will not be able to see the material without permission. The attributes for a file or the folder it is in must be set correctly on the server to give this permission.
Attributes are shown to the far right of the file or folder name (as shown in the right-most column of the following graphic). Use the scroll bar at the bottom of the file window to reveal the attributes column. Again, Web page viewing is enabled by changing the attributes of files and folders within your Web directory on the server:
Files and folders can have three types of users:
Owner The user with full rights to all files and directories within a specific server directory space; this user can change file and folder attributes. Group A select group of users listed by the owner. Other All other users; users accessing your pages and directories through the Web or the network.
Files and folders can have the following attributes on the server:
D The listing is a directory. R The file or folder can be read (viewed). W The file or folder can be written to. X The folder can be opened to access files (execute); the user can view Web pages in the folder.
The following settings are recommended to enable you to share your Web pages over the Internet. Verify that that these settings have been applied to your Web folder and all files and folders in it.
File settingsNote: If you are part of a group where more than one person will make changes to the Web files, click the Write check box for the group. The Permission mode will change to 664.
- Right-click the file or folder name.
- Click Properties.
- Click the check box for the desired attribute for the Owner, Group, and Other categories.
4. Click OK.
Deleting Files in Secure Shell
- Select a file or folder you wish to delete from either the Local Name or Remote Name window pane.
- From the Operation menu, select Delete to delete the file or folder. Alternatively, you can click the red X on the File bar.
- A Confirm Delete dialog box appears, allowing you to confirm if you really want to delete the selected files or folders. Click Yes to delete the selected items or Cancel to keep them.
Quitting the Secure Shell Program
- On the Toolbar, click the Disconnect icon to quit the current File Transfer session.
- From the File menu, select Exit to quit the SSH File Transfer program.
- Double-click the SSH Secure Shell Client desktop icon (or select the program from the Start menu).