Remote Access

From CCRMA Wiki
Revision as of 20:50, 23 September 2008 by Carrlane (Talk | contribs)

Jump to: navigation, search

CCRMA has several ways of accessing resources remotely. There are a few things to remember however you log in from a remote host:

- be cognizant of the potential for keyboard password sniffers when typing your username and password. read: internet cafe's, etc. just know they exist. - if logging into a workstation host (e.g. cmnXX), anyone logged in to that machine locally has priority over the host's resources. Best to look for another host to login. Check if someone else is logged in by typing the command:

~> w
-bash-3.1$ w
 20:47:19 up 11 days,  2:16,  1 user,  load average: 0.14, 0.07, 0.05
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
carrlane pts/1    AAA.BBB.CC.DD     20:16    0.00s  0.29s  0.01s w
jimmyjoe pts/2    EE.FFF.GG.HHH     18:13    0.14m  0.22s  0.01s


You can login remotely to through a server called ccrma-gate.stanford.edu by typing the following in a terminal window:

~>ssh <username>@ccrma-gate.stanford.edu

You will see this response in your terminal:

Welcome to CCRMA, Stanford University
[This system is for authorized use only]

<username>@ccrma-gate.stanford.edu's password: 

Enter your password, and you will be presented with a prompt located at your home directory.

X11 Display Forwarding

A useful tool for using GUI based applications at home that are running on a CCRMA machine is display forwarding. This tool forwards X11 display information to your remotely logged in host, provided you have X11 installed.

~>ssh -X <username>@ccrma-gate.stanford.edu

Once you are logged in you can run any GUI based applicatio from the command line for example:

~>evolution

and it will open locally in an X Window but be running on a CCRMA computer with only the display information being forwarded. You can interact with the program in the usual way. You may find some delay in the interaction based on what kind of bandwidth is available for your connection. You may want to consider command line or text alternatives to using display forwarding of you have limited bandwidth. For example, you could use pine rather than Evolution to check your email, or use matlab in 'nodisplay' mode:

~>matlab -nodisplay

Logout

Please logout when you are not using a session.