This is the most secure and fast way to log in to your account. However, as you know, you have to be present at CCRMA to use this method. In order to use your account, simply log in to any workstations at CCRMA with your CCRMA ID and password, which can be different from your SUID and password.
Logging in to the machine with this method will give you the access to CCRMA file system through the window-based user interface.
This method is recommended when you want access from remote sites, such as your dorm room, COHO, Green Library and even out of campus. In order to use this method, you need to use a certain application on your personal computer. This is the best option when you are making lots of changes in your home folder. (e.g. making folders, changing file permission, zip/unzipping files and etc.)
Run the following command in the terminal to log in remotely:
ssh [your-ccrma-account]@ccrma-gate.stanford.edu
example:
$> ssh hongchan@ccrma-gate.stanford.edu
This method is similar with the second option, but it is optimized for file transfer. The biggest advantage of this method is using an SFTP client software with convenient graphic user interface to access CCRMA account. This will help you to navigate CCRMA file system without any hassles. This is also the best option when you are uploading your homework into your web directory.
Use this info to access your home folder:
Username: [your-ccrma-account] Server: ccrma-gate.stanford.edu Port: 22 Protocol: SFTP (SSH File Transfer Protocol)
When you log in to the system, you will be located at your home folder. However, you can go up to upper directories to look around the other files and folders. By doing so, you can download other useful files from many different places in the server.
This is the directory where you have the full control of everything. You can create/modify/delete anything you want. Also this is the place you will be, when you log in to the machine remotely or locally.
This is the full path of your home directory in the CCRMA server:
/user/[INITIAL]/[USERNAME]
example:
/user/h/hongchan
When you're using terminal, you can type this command to go back to your home directory:
$> cd ~
You will create a directory for your homework. First off, you need to find your public web directory. ("~" will locate you at your home directory no matter where you are)
$> cd ~/Library/Web
Then create a new directory named "220a", where you will save all your homework.
$> mkdir 220a
Alternatively, you can use your favorite SFTP client to get these steps done.
There is a directory for all the resources used in the class or homework. You can access to the directory by the following command. You can find several ChucK codes and audio files at your disposal.
$> cd /usr/ccrma/web/html/courses/220a
If you want to make a symbolic link for faster access to this directory, Type this at your home directory. It will create a link named "220a" in your directory, so you can jump to the destination by typing "cd 220a" command or by double-clicking "220a" folder icon in the window.
$> ln -s /usr/ccrma/web/html/coruses/220a
example:
[ccrma-gate hongchan] ~> ln -s /usr/ccrma/web/html/courses/220a
[ccrma-gate hongchan] ~> ls
155-OLD/ Desktop/ Documents/ Library/ Movies/ Pictures/ Templates/
220a@ \ Desktop/ Downloads/ mail/ Music/ Public/ Videos/
[ccrma-gate hongchan] ~> cd 220a/
[ccrma-gate hongchan] ~/220a> ls
bin/ ck/ docs/ index.html jukebox/ lectureMaterial/ miniAudicle*
Simply upload your file into "220a" directory with the proper naming scheme. The file extension should be one of the followings: .ck, .wav, .html
"hw" + [NUMBERING] + "." + [FILE_EXTENSION]
example:
hw1.ck
hw2.wav
hw3.html
If you upload a file with an incompatible name or to a wrong place, your home work will not be populated by Homework factory! Please be careful about this!