Accessing remote machines is dangerous if you send passwords in the clear. Use ssh to set up a more secure way of transfering files, and especially for opening windows from a remote machine on a local console. The CS department's systems staff has more up-to-date notes showing how to use OpenSSH, which is now a campus standard. They also have other platform notes about using SSH from a web browser or Windows. Using ssh is not a class requirement - it's just something to avoid being hacked.
The files test_hillsX.m correspond to the similarly numbered files experiment_least_squaresX.m, X = 1, 2, 3. See the internal comments in each m-file for more info.
leastsquares.zip bundles together all of the above least squares files.