If you need to learn more about the Unix shell environment, try ITS's tutorial on basic Unix/Linux.
Log on to your Ruby account through SecureShell (or another SSH application).
Change to your public_html directory (
Either create a new directory to password protect (
mkdir newdirectory) or change to the one you want to protect (
cd). Choose a subdirectory of public_html; otherwise, your entire public_html will become password-protected.
At the prompt, type
When prompted, enter the user name and password that you would like your users to use.
The program creates two files in the directory you are protecting: .htaccess and .htpasswd. You won't see these files on a regular ls command; you must type
ls -a. Don't delete the files unless you want to remove the password protection.
- My Computer
- Labs and Equipment
- Instructional Technology
- Mac FAQs
- Remote Access
- Using SILS Servers