Mac OS X connections to Geophysics computers:
Macintosh computers with operating systems after X (10) were built on top of a platform very similar to Unix and Linux, called BSD. Becaused of this
much of the functionality that exists within those operating systems now sit at the core of Macs, and many of the things that we do on the command line
will work similarly on each Linux, UNIX, and Mac machines.
Here, we are just focusing on using the Mac for access to the Geophysics Linux system, which should be quite easy.
Before you begin, please see that X11 is installed on your machine. This may come as a default in some newer installations, if not, it may either exist
on the OS X install DVD (Tiger: 10.4), or through a separate download of the XCode tools available from the Apple website. There are other ways of installing
X11, but are beyond the scope of this intro.
After insuring X11 is installed on your machine, follow these instructions to create a double-hop between
eas-ssh.eas.gatech.edu and masaya.eas.gatech.edu from your machine. You can switch the second machine for any other on the geophysics
network, depending on your needs.
Please be aware that details may change depending on version of the software and OS.
- Launch X11 (Under Applications then Utilities). This is needed if you want to display remote windows.
- Launch Terminal (Also under Applications then Utilities).
- From the Terminal window, just type the following on the command line:
ssh -Y 'buzzport ID'@eas-ssh.eas.gatech.edu -t ssh -X 'geophys username'@masaya.eas.gatech.edu
NOTE: change red items above
- Accept and store any ssh or askpass keys. You will only have to do this once, for every unique machine-machine connection for a given user.
- You will be prompted 2 times for passwords. The first time will be your buzzport password to login to eas-ssh, and then
it will be your local password on the geophysics system.
- Your terminal should now be connected to masaya, and anything you type in that window will be on that machine rather than your own.
Please test to make sure you can actively type in the window, and be sure you are on the correct machine.
A good first test is to type: 'hostname', which will tell you the name of the machine that you're on.
- Now, test to be sure that you can bring up a second remote window. This can be done by typing: 'xterm &'.
- To close the terminal windows, just type 'exit'. Once you've closed all windows, the connection should automatically stop.
For more information look here.
|