Students can upload and download files to and from the studios using the secure shell protocol (SSH). To arrange a username and password, please contact Eric Feinstein. An account will be created for you on the studio server. You can then access your account using one of many SSH client applications. To download a client for your system, visit http://www.openssh.com as look in the left-hand side-bar for links for your operating system (Linux, Mac OS, Windows, etc). For the Mac, I recommend Fugu. For Windows I recommend WinSCP, and for Linux I recommend gFTP or the powerful command-line "ssh".
Advanced users, please follow the link below to "command line SSH".
Once installed, login with:
Hostname: digitial.music.cornell.edu
Port: 22
Username: (your username)
Password: (your password)
Most SSH clients work like FTP displaying a local and remote directory tree. You can copy files or directories from one location to the other either for backup or to relay files in either direction for your use.
On the Digital Music server, users may upload files to one of two locations, 1) a backup folder appropriate for the backup or relay of large files listed in the user's home directory as "backup", and 2) a "public" webspace for linking or public download,listed in the us er's home server directory as "webspace". Items copied into this latter directory will be visible on the web, downloadable using any standard browser. The web address for these files would be:
http://digital.music.cornell.edu/(username)
Command line access via a Unix terminal/shell is the most reliable, powerful method of accessing the Digital Music Studios. With it users can login and use the functionality and processing power of the CDMS computers remotely.
To login, open a terminal shell (on Mac, /Applications/Utilities/Terminal.app; on Windows use Cygwin; on Linux or other Unix just open a standard xterm). At the command prompt type:
ssh REMOTE_MACHINE_NAME
...where REMOTE_MACHINE_NAME is the name of the machine you wish to access, for example b27.music.cornell.edu. If you use a different username on your local system than the one on the system you are logging into, you will also need to specify your remote username thusly:
ssh USERNAME@REMOTE_MACHINE_NAME
With the exception of our server, digital.music.cornell.edu, all CDMS machine names are derived from the number of the room they occupy.
b27.music.cornell.edu (Multichannel studio, B27)
b25b.music.cornell.edu ("Film" studio, B25B)
b25c.music.cornell.edu (Undergraduate Studio 1, B25C)
b25d.music.cornell.edu (Undergraduate Studio 2, B25D)
On CDMS systems, convenient command shortcuts are also available using a standard syntax:
sshd (same as ssh digital.music.cornell.edu)
sshb27 (same as ssh b27.music.cornell.edu)
sshb25b (same as ssh b25d.music.cornell.edu)
sshb25c (same as ssh b25c.music.cornell.edu)
sshb25d (same as ssh b25d.music.cornell.edu)
Note that the two workstations in B25A (walter and wendy) are not directly accessible from outside the network. To copy files to and from these systems use the server or another system as a relay.
When logging in from the outside you will be prompted for your password. Enter it and you will be logged in immediately. Logins from within the studios are governed by secure authorized keys meaning your account will automatically be verified when a remote shell is requested and you will not have to type your password. This will become important later on as we seek to run remote processes inline with local programs.
To copy files to and from local or remote computers, use the scp (secure copy) command. The syntax is identical to ordinary copying with cp.
scp FILE_TO_COPY [MORE_FILES_TO_COPY] DESTINATION
Unlike cp, the file to copy and/or their destination may be a remote computer. The user must specify the remote machine name and directory as a prefix. So for example, to copy a local file named myfile to my remote home directory ("/Users/kevinernste") on b27.music.cornell.edu, I would type:
scp myfile b27.music.cornell.edu:/Users/kevinernste/
Note the colon ":" between the machine name and the directory in the destination argument. This syntax should be followed carefully.
As with cp (and other Unix commands), all unix "wildcards" will work, so:
scp * b27.music.cornell.edu:/Users/kevinernste/
...will copy all files in the current directory to the destination directory on b27. To directories and subdirectories, just add "-r", so:
scp -r * b27.music.cornell.edu:/Users/kevinernste/