Getting SSH and File Transfer Software<
You need to get some "outside" software for handing in your homeworks and projects.
Here is a summary of what you need. We will work on this in class.
The following link will take you to the Carnegie Mellon site for downloading
the software you will need to move files to your handin directory:
File Transfer Software
For Windows and Mac, go to item #3 in the web page, Secure FTP Clients:
-- Windows users should down load SSH Tectia Client(Windows). If you start this and
get a message to remove some software first, you already have what is needed and you
should stop or cancel the download.
-- Mac users -- we recommend Fetch. If you start this and
get a message asking if you want to replace another version, you already have what is needed and you
should stop or cancel the download
-- You will be asked for the serial number so you need to copy the serial number from the screen when it is
displayed.
-- If an ID is requested, use: carnegie mellon university.
Windows folks: You only do this one time.
Using this software, you must connect your computer to your andrew account.
You connect to:
unix.andrew.cmu.edu
We will show you how to do this in class.
Once you are connected, you use the following magic phrase to set up the link from your andrew account space
to the course handin space.
ln -s /afs/andrew.cmu.edu/course/60/257/handin/S2014/YourAndrewID handin
You must replace the text, "YourAndrewID" with your andrew account id.
If you type, you must type the magic phrase EXACTLY as it appears or it will not work.
Put spaces spaces where you see spaces and do not add spaces that are not there.
Macintosh: Using the Terminal Window to enter the Magic Phrase --
You only have to do this one time.
1. Open the Macintosh HD icon.
2. Find and open the Applications folder.
3. Find and open the Utilities sub-folder.
4. Find the application named "Terminal.app" and double click it.
5. If a window named Terminal does not open, go to the Shell tab at the top of
the screen and choose the "New Window" option.
6. If the account name you use on your computer is the exact same as your andrew account, Type the following:
ssh unix.andrew.cmu.edu
If the account name you use on your computer is different from your andrew account, Type the following:
ssh -lYourAndrewID unix.andrew.cmu.edu
The letter after the minus is a lower case L and not a 1.
7. Once you are connected, you use the following magic phrase to set up the link from your andrew account space
to the course handin space.
ln -s /afs/andrew.cmu.edu/course/60/257/handin/S2014/YourAndrewID handin
You must replace the text, "YourAndrewID" with your andrew account id.
If you type, you must type the magic phrase EXACTLY as it appears or it will not work.
Put spaces spaces where you see spaces and do not add spaces that are not there.
When You Handin your work:
- Handin the ENTIRE sketch folder.
- Do NOT alter the name of the folder or the sketch.
- Hand in your work BEFORE do the web export and post you work on Open Processing.
Jim DOES NOT WANT THE WEB EXPORT FOLDER because he does not need it and
it takes up a lot of disk space in the handin directory.
How to hand in your work.
Windows: Using SSH Tectia Client to handin your homework folders:
1. Open the file transfer version of the program
2. Quick connect to:
unix.andrew.cmu.edu
3. Enter your password when prompted
4. Find the handin name in the list of files/directories/links in the window
5. Click handin. You should see a list of homework folders.
6. Click again on the correct homework/project folder
7. Find and drag your ENTIRE homework folder into the correct homework folder
Macintosh: Using Fetch to handin your homework folders
1. Find the Fetch Icon ( a puppy dog ) and double click it.
2. Type the following in the dialog box:
2a. - for the host name, type: unix.andrew.cmu.edu
2b. - for the user name, type: your andrew id
2c. - for the password, type your password.
3. Look at the Connect Using box -- it MUST say STFP. If it does not click on it and set it to SFTP.
4. You should see a window with an icon list. This is your andrew space.
5. Find and click the "handin" icon. You should see a list of homework folders
6. Click on the correct homework/project folder
7. Find and drag your ENTIRE homework folder into the correct homework folder