Connecting to Galileo from Apple OS X
- Running Programs:
If you need to run programs that have graphical interfaces (things you
click on, rather than just text you type), the best choice for
communicating with Galileo is OpenNX. It is by far the fastest way
to run graphical applications on Galileo. For information about how
to use it, see the following link:
Using OpenNX to talk to Galileo >>
OpenNX will work fine for non-graphical programs, too.
- Other alternatives
Alternatively you can use SSH instead of OpenNX to connect to Galileo.
Fortunately, OS X comes with an SSH program already installed.
- Connecting to Galileo through SSH:
Just open a terminal windor and type:
ssh galileo.phys.virginia.edu -l username
If you need to run graphical programs, you'll have to make sure that
SSH is configured to forward X connections from Galileo to your computer.
If SSH isn't already configured this way on your computer by default,
you can turn on X forwarding each time you use ssh by adding the "-X"
option to the command, like this:
ssh -X firstname.lastname@example.org
Note that graphical applications will be orders of magnitude more sluggish
when run this way than they would be when run through OpenNX.
- Copying Files to and from Galileo:
From computers inside the Physics Department:
From OS X computers in our department (only), you can get to your Galileo
home directory by just clicking on Go --> "Connect To Server" and typing:
where "username" is your user name on Galileo. This will prompt you
for your password, and then open a file browser showing you your
Galileo home directory.
From computers anywhere:
From computers anywhere, you can get to your Galileo home
directory by using the SCP or SFTP network protocols. From the command line,
you can copy files to and from Galileo using sftp, scp or rsync. If you're
only copying a few files, you may find sftp the most convenient
of the three choices.
- Using the sftp command:
To use sftp, just open a terminal window and type:
and log in. You'll then be able to use command like "dir", "cd", "get"
and "put" to list your files on Galileo, change to another directory there,
get a file, or put a file, respectively. You can also type "help" for
- Using the rsync command:
If you need to copy a whole directory (or tree of directories), you
should look at the rsync command. For example, to copy everything
from a directory called "data" on your local computer into a directory
of the same name under your home directory on Galileo, you could type
this (on your local computer):
rsync -rv ~/data/ email@example.com:data/
(Note the trailing slashes. They're important.)
For complete information about using rsync, type "man rsync" on your