How-to: Using CCRMA Account

How to access your account

Using workstations at CCRMA (local)

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.

Using Terminal (SSH, remote)

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

Using FTP Client (SFTP, remote)

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.

Important places

Home directory

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 ~

Course Resource Directory

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*