|How to remove the restrictions on Java's crypto functions|
Note that these instructions are only for your personal machines. CSSD's unixs server (unixs.cis.pitt.edu) has only restricted Java cryptography functions, while the CS department's javalab machines are unrestricted.
Determine your Java version by running "java -version" from the command line. Download and install the appropriate Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your version of Java.
You can download Java JDK and JCE at here
|How to access the CS department's javalab machines|
You need to be on Pitt's network to have ssh access to the javalab. If you're not trying to access the javalab from in the dorms, on WIRELESS-PITTNET, or in a campus computer lab, this means you'll have to first ssh to Pitt's unixs server (unixs.cis.pitt.edu). From a Mac or Linux shell, you can enter the following command:
Where <username> is your Pitt username. For example, the TA would do this as:
If you're on Windows, I recommend you use Putty for ssh. Putty is already installed on the CS department computer lab machines.
once you're on Pitt's network, you can access the javalab (again through ssh) like so:
Where <username> is again your Pitt username, and <number> is between 1 and 5 and <letter> is between a and d. For example:
From here you must navigate to your Pitt AFS home directory. This is normally a path like "/afs/pitt.edu/home/<first letter of username>/<second letter of username>/<full username>". Your TA's home directory is "/afs/pitt.edu/home/x/i/xix22/". For example:
If you cannot find your home directory, log into unixs (as shown above) and run the command "pwd" right after logging in."pwd" shows your current working directory, which (at login) is your home directory.
Now you must get an AFS token to read and write files to your Pitt AFS home directory. This can be done with the following command:
Klog will prompt you for your CSSD account password (the same one used to log onto unixs and the javalab machine). After you provide this, you should be set up to start compiling and running code on the javalab machines. As the javalab machines and unixs both make use of your Pitt AFS home directory, you can use scp to copy files from your home machine to unixs. This can be done from a Mac or Linux terminal as such:
For example, for your TA to copy the file "foo.java" to his Pitt AFS space, he would run:
On Windows, I would recommend using WinSCP for copying files.