CMSC160 Intro to Algorithmic Design Blaheta Accessing torvalds

Logging in

From the lab machines:

1. Double-click the icon for “PuTTY”.

2. You’ll get a dialog warning “the publisher could not be verified”. Click Run.

3. You’ll get a PuTTY configuration dialog. Under Host name type “- valds.cs.longwood.edu” (without the quotes) and hit Enter.

4. You’ll get a PuTTY security alert warning. Click Yes.

5. You’ll get a window prompting “Login as:”. Type your login name and hit Enter.

6. You’ll get a prompt for your password. Type it and hit enter. (It won’t show anything as you type; that’s a security feature.)

From your own network-connected Windows machine:

• Download putty.exe from the link on the course webpage.

• Follow the instructions above.

• After the first time, you won’t see the two warning dialogs.

From your own Mac or box:

1. Open a Terminal window.

2. Type ssh [email protected] except use your own login name.

3. You’ll get a prompt for your password. Type it and hit enter. (It won’t show anything as you type; that’s a security feature.) CMSC160 Accessing torvalds

Handing in

If you do your work on torvalds, you won’t have to (and won’t be able to) use the web handin page; but you’ll be able to skip the mystic incantation to create the .tgz file, so it all balances out. Instead, you’ll type something like

handin cmsc160-2 asgn files except for asgn you’ll type the name of the assignment (like lab4 or hwk3 or exam1) and for files you’ll type in the names of any files or directories you want to hand in. If you’re keeping each lab in its own directory named after the lab, you’ll probably be able to just type

handin cmsc160-2 lab4 lab4

When you do, it’ll tell you what-all it’s handing in.

Transferring files

The easy way (once): If you plan to use torvalds for your development, send me an email and I’ll drop all the .tgz files you’ve handed in via the web into your home directory, and unpack them for you—so you should have an up-to-date snapshot from each previous lab unless you worked on them after handing in. If you have other .tgz bundles you want in there, submit them with the web handin script under the special assignment name “Transfer files to torvalds” and I’ll put them in your directory. This is all basically to get you set up; I’m not going to be permanently offering this service. The less-easy way (ongoing): You can use a program such as psftp (available from the PuTTY website) or WinSCP to transfer files between a Windows machine and torvalds, or scp (preinstalled) on Mac or Linux to transfer. Read their instructions or contact me for details. Mostly you shouldn’t need to do this, though.

2