How to add content to an MIT website

In case your username is not elm, replace elm in the following code with your username.

Step 1: ssh into Athena

Open a terminal window, and type:

ssh elm@athena.dialup.mit.edu 

Enter your password when prompted.

Step 2: find path to your www folder

In the terminal window where you sshed into athena, type:

cd www 
pwd 

Copy the filepath you see -- this is where you'll put the contents of the website. For me it was:

/afs/athena.mit.edu/user/e/l/elm/www

Step 3: copy content to the your www folder

Navigate out of ssh by opening another terminal or typing:

exit

Let's say the file you want to add to www is called index.html, and is in your Downloads folder, and your username is elm. Then type:

scp ~/Downloads/index.html elm@athena.dialup.mit.edu:/afs/athena.mit.edu/user/e/l/elm/www/index.html

Step 4: check that it worked

You can access your website (assuming username is elm) at: http://web.mit.edu/elm/www/