Secure Shell for Windows

Secure Shell for Windows

Secure 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.
Note:
  • 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.edu
    and 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

    1. Open the SSH Secure Shell Client program (either from the Start menu or a desktop shortcut). 
    2. When the SSH Secure Shell dialog box appears (shown below), press ENTER.

      SSH introductory dialog box

    3. In the Connect to Remote Host dialog box (shown below), type the following:

      • In the Host Name field, type copland.udel.edu 
      • In the User Name field, type your UDelNet ID.
         
    4. Click Connect.
    5. In the Enter Password dialog box (shown below), type your UNIX password.

    6. Click OK.
    7. 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.

    8. In the next dialog box, you should see the UNIX prompt for copland.udel.edu (i.e., copland.udel.edu%). You can now work with your UNIX account.

      Window with UNIX prompt

  • Printing from a Secure Shell Session

    Because 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:
    1. If you are using Pine to read email, use the Pine E (export) command to save the message to a file.
    2. Exit or suspend the Pine program.
    3. 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
    4. 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.
    5. Highlight the entire display of the file you wish to print.
    6. With the text highlighted, click the printer icon on the Secure Shell window.
    7. On the resulting print window, check to be sure the button next to Selection is selected.
    8. Click OK to print the file or message.
  • Ending a Secure Shell Session

    1. At the UNIX server's prompt, type

      exit

      and press the ENTER key. You are now logged out of the UNIX server.
    2. Quit the Secure Shell program.


Transferring Files with Secure Shell

The 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.
Use the tabs below for basic Secure Shell tasks.
  • Transferring Files with Secure Shell

    Starting a Connection

    1. Double-click the SSH Secure Shell Client desktop icon (or select the program from the Start menu).

      SSH Shell Client icon
    2. On the Profiles bar, click Quick Connect.
    3. In the Enter Password field, type your UNIX password.
    4. Click OK.
    5. On the Toolbar, click the File Transfer Window button, which looks similar to the following:

      SSH File Transfer icon
      You will see the SSH Secure File Transfer window that looks similar to the following:

    example file transfer window

    This window is divided into three main sections: Local Name, Remote Name, and File Transfer Status and History which are described below.

    Local Name
    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.

    Remote Name
    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.

    File Transfer window

    1. 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.
       
    2. Select the format of the file you want to transfer:
      • Click  ASCII transfer mode button  (ASCII) for files that contain only text or program source code. Examples are files that end with .html, .htm, and .txt.
         
      • Click  binary transfer mode button  (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 transfer mode button  (Auto) if you are unsure of the format of the files.
         
    3. 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.
    4. Click the highlighted file or group of files and drag it to the desired directory on the server in the right window pane. 
    5. 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.
    6. If you do not see your file in the target location, click the Refresh button refresh button icon.
    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).


    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 download/upload button icon.

    File Transfer window

    1. 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.
    2. 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.
    3. In the Select Files dialog box, locate and select the files for downloading or uploading.
    4. 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:

    window showing attributes column

    Users

    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.

    Attributes

    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.

    Recommended attributes

    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.

    Folder settings

    screen showing folder settings

    File settings

    screen showing file settings

    Note: 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.

    Changing attributes

    1. Right-click the file or folder name.
    2. Click Properties.
    3. Click the check box for the desired attribute for the Owner, Group, and Other categories.

    attributes check box example

    4. Click OK.

  • Deleting Files in Secure Shell

    1. Select a file or folder you wish to delete from either the Local Name or Remote Name window pane. 
    2. From the Operation menu, select Delete to delete the file or folder. Alternatively, you can click the red X on the File bar.
    3. 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

    1. On the Toolbar, click the  Disconnect icon  disconnect button icon to quit the current File Transfer session.
    2. From the File menu, select Exit to quit the SSH File Transfer program.

Search IT Help

My UD Search for forms & applications.