Chapter 4. Remotely Accessing the Suns

Table of Contents

Using the Suns from a PC or a Macintosh
Using the Suns from a Public Macintosh
Using the Suns from a public Windows PC
Transferring files to and from the Suns
How to use FTP on the Suns
Transferring files from a Mac to Suns
Transfering Files from a PC to Suns

Using the Suns from a PC or a Macintosh

The Suns may be used from a personal computer, say in a lab or your dorm room, or from a Macintosh on campus.

Using the Suns from a Public Macintosh

You can access Suns from a Mac by using Secure Shell (SSH), a program that simply gives you a command line interface. You will not be able to use a mouse in that window, and you will not be able to run any application that requires a graphical environment.

  1. Double click on the Terminal application, which is located in Applications - Utilities

  2. Type the command ssh username@sunhostname, where username is your Sun username and sunhostname is an appropriate Sun hostname (e.g., castor.eg.bucknell.edu or pollux.eg.bucknell.edu), in the terminal window.

  3. You will then be prompted for your Sun password. You will login without a windowing environment. Therefore, you will only have one window and the mouse is inoperative. However, the arrow keys still work.

  4. To Logout of the Sun system type logout as usual from hostname prompt.

Using the Suns from a public Windows PC

You can access Suns from a PC in two ways:

  1. By using Secure Shell (SSH), a program that simply accesses the Suns and gives you a command line only interface. You will not be able to use a mouse in that window, and you will not be able to run any application that requires a graphical environment.

  2. By using X-Win32 a program that simulates X Windows.

To use SSH from a PC:

  1. From the Start menu, select Programs – Programs Q-Z – SSH Secure Shell – Secure Shell Client.

  2. In the SSH window that appears, click the Quick Connect button.

  3. Type in a Sun hostname and your Sun username in the appropriate fields; then, click the Connect button.

  4. A dialog box may appear asking if you’d like to save the new host key in your local database. Simply click Yes.

  5. Type in your password when prompted to do so and then click OK.

  6. You will be logged in without a graphical environment. Therefore, you will only have one window and the mouse is inoperative. However, the arrow keys still work.

  7. To Logout and get off the Telnet type logout as usual from hostname prompt.

To use X-Win32 from a PC (Assuming the PC you are using has X-Win32 installed)

  1. Click on the Start Menu button at the bottom left corner and select Programs – Programs Q-Z – X-Win32 5.4 – X-Win32.

  2. After launching X-Win32, a small X should appear in the lower right hand corner of your screen.

  3. Click on the X and select one of the sessions, e.g. Castor Terminal or Castor CDE. Terminal sessions will simply give you a command line interface and you can launch applications via the command line. CDE sessions will present you with the interface that you receive when physically sitting at a Sun workstation.

  4. Simply login with you Sun username and password.

  5. To exit X-Win32, right-click on the X and select Close.