Using SSH to transfer files from home to the CS3 lab (under Windows)

Summer 2006

Let's say you have finished Homework 5 on your computer and you want to submit it. Assume that the file with all of your code is hwk5.scm. Here's what you do.


  1. Go to the Programs menu and pick SSH Secure Shell.



  2. Run the Secure Shell Client.



  3. Once Secure Shell Client starts up, go to File and pick Quick Connect.



  4. For Host Name, type in h30.cs.berkeley.edu. For User Name, type in your cs3-?? account name.



  5. If you see a message like the one below, it's probably safe to click Yes.



  6. When it asks for an authentication response, type in the password for your cs3-?? account. Don't use the one for your UC-WISE account, if they are different.



  7. You won't see the letters of your password, but you should see x's instead.



  8. Now you should be at a familiar window. This is pretty much like the xterm window. Since we want to submit Homework 5, type mkdir hwk5 to make the hwk5 directory and then type cd hwk5 to go into the hwk5 directory.



  9. Now click the icon that looks kind of like a folder.



  10. A new window will appear. There will be two lists of files. The ones on the left are on your computer, while the ones on the right are on your cs3-?? account.



  11. Now browse through the files the left until you find your hwk5.scm.



  12. Grab it and drag it into the hwk5 folder on the right side.



  13. If you look at the bottom of the window, you should see that the file has been uploaded.



  14. Now go back to the SSH Secure Shell window and type submit hwk5 and answer any questions the submit program asks. You should be done.



If you just want to move files back and forth without submitting, you can load the Secure File Transfer Client instead. You connect to h30.cs.berkeley.edu in the same way, but it only shows you the window for transferring files.

Also, if you want to download a file from the lab computer to your computer, just drag the file from the right side of the Secure File Transfer Client window to the left side.