Loyola University Chicago

Web Support

PuTTY


Once you create an HTML document and copy it to Orion using Filezilla, you need to set the file's permissions so other Internet users can view it on the web. Setting a file's permissions involves issuing a few simple Unix commands on Orion. This document reviews the procedure for logging into Orion using PuTTY and includes basic instructions about setting file permissions.


What is PuTTY?

PuTTY is a software program, also known as a "client," that uses Secure Shell (SSH) to log into a remote system from your computer.


Loyolans can use PuTTY to connect to many of the University's servers, considered "remote systems". PuTTY permits you to work on a University server directly from your work station. For web development, you should use PuTTY to connect to Orion, Loyola's Web server. While logged into Orion, you can create or delete directories; create, edit, or delete files; and change permissions on directories and files.


What Do I Need to Use PuTTY?

Since you are connecting to Orion, you need an Orion account and password. If you do not have an Orion account, you can find the form to request one here.   Once you telnet to Orion, you will also need to know some Unix commands in order to navigate the system. This document provides you with the Unix commands you need to set file permissions. For more Unix commands, visit Basic Unix Commands.


Connecting to Orion

On Loyola-networked computers (lab machines, most faculty and staff desktops), the PuTTY client is accessible through the "PuTTY (Telnet SSH)" icon found under Loyola Software.

If the Loyola Software menu does not appear on your computer,then you are not using a Loyola-networked computer. Skip to Using PuTTY on a Non-Loyola-Networked Computer.

  • Click the Start button.
  • In Windows NT: Choose Loyola Software | Internet Tools | PuTTY (Telnet SSH).
    In Windows XP: Choose All Programs | Loyola Software | Internet Tools | PuTTY (Telnet SSH).
  • The PuTTY Configuration window opens.
  • Type orion.it.luc.edu into the "Host Name (or IP address)" field.   OR
    Under "Saved Sessions," click Orion and then click Load.
  • Click Open.
  • Type your Orion ID after the "login as:" prompt. Press Enter.
  • Type your Orion password after the "password:" prompt. Press Enter.
  • By default, Orion logs you into your personal home directory. At the Orion prompt, you will see something like orion:/u3/username> where username is your Orion ID.

Setting File Permissions

Permissions (also called rights) regulate who can access your directories to read and edit your files. Each file and directory housed on Orion has its own set of permissions. The instructions below give other Internet users "read" and "execute" rights, but retain "write" rights for you. This way, others can gain access to your directories and view your files, but they cannot change or edit them in any way. That right is yours exclusively.

Important: Once you give other users permission to view your page, anyone in the world with access to a Web browser can view it. Make sure the information you include on your page is accurate and appropriate for public viewing.

 

Move to the Correct Directory

Personal Home Pages:

  • Type cd (for change directory) followed by a space and the name of your subdirectory, like this: cd .web. Press Enter.
  • If you do not have a .web subdirectory, or if you have not transferred your HTML file(s) to that directory, you can get information about this process at Using Filezilla

Departmental Pages:

  • Type cd (for change directory) followed by a space and the names of your department's directory and subdirectory, always starting with /usr/local/www. For example, if you saved your files in the "depts/history" directory, you would type cd /usr/local/www/depts/history. Press Enter.
2.  Change File Permissions
  1. The directory containing your HTML file(s) should be open. Type ls and press Enter to list the contents of the directory. If you do not see your recently transferred HTML file(s), you might be in the wrong directory. Check the "orion:" prompt to make sure. The prompt should end with the directory name you chose above.
  2. Change the subdirectory's permissions: Type chmod 755 ., including the space and the period after the number. The period instructs Orion to change the permissions for the directory that is currently open. Press Enter. Another Orion prompt appears.
  3. Change the file's permissions: Type chmod 644 filename where filename is the actual name of your HTML file, including its ".html" or ".shtml" extension. Press Enter. Another Orion prompt appears.
  4. Repeat step 3 for each file you transferred to Orion.
3.  View Your New Web Page

Personal Home Pages:

  1. Open a Web browsers (e.g., Internet Explorer or Mozilla).
  2. Type the page's URL (address) into the "Location:" or "Address:" line. The URL begins "http://homepages.luc.edu/" followed by a tilde (~) and your Loyola username, like this: http://homepages.luc.edu/~jsmith3.
  3. Click on the hyperlinks in your page to make sure they work.

Departmental Pages:

  1. Open a Web browser (e.g., Internet Explorer or Mozilla.
  2. Type the page's URL (address) into the "Location:" or "Address:" line. The URL begins with "http://www.luc.edu/" followed by the directory and subdirectory of your department and then the filename. For example, if you published a Web page named "Freud.html" for the psychology department, the URL would read http://www.luc.edu/depts/psychology/Freud.html.
  3. Click on the hyperlinks in your page to make sure they work.

Using PuTTY on a Non-Loyola-Networked Computer

If you plan to work on Orion from a non-Loyola-networked computer (your home computer, a laptop, or any office computer not running NAL), then you need to download PuTTY to your machine. Follow these directions?

  1. Point your Web browser to http://www.chiark.greenend.org.uk/~sgtatham/putty.
  2. Click Download.
  3. Click the putty.exe file for your operating system.
  4. Click Open.

Follow the directions above for connecting to Orion and setting file permissions.


For Mac Users

Mac users should use the Fugu client to connect to Orion. Download Fugu from http://rsug.itd.umich.edu/software/fugu/.