CMPUT 229 - Computer Organization and Architecture I

Using ssh to remotely connect to Lab Machines from a Linux or MacOS system

  1. Use the command below to connect to the department host machine ohaton.cs.ualberta.ca:
    ssh -Y <your_ccid>@ohaton.cs.ualberta.ca
    Replace <your_ccid> with your own CCID. You will be prompted for your password.

    If the lab machine feels laggy or unresponsive, you can SSH from ohaton into a specific undergraduate lab machine. Run the following from the ohaton terminal:

    ssh -Y <your_ccid>@<lab-machine-name>

    Available lab machines:

    • UCommons 2030: ucomm-2030-w01 - ucomm-2030-w04
    • UCommons 2070: ucomm-2070-w00 - ucomm-2070-w24
    • UCommons 2086: ucomm-2086-w00 - ucomm-2086-w33
    • UCommons 2130: ucomm-2130-w00 - ucomm-2130-w25
    • UCommons 2140: ucomm-2140-w00 - ucomm-2140-w25
    • UCommons 3130: ucomm-3130-w00 - ucomm-3130-w23
    • UCommons 3140: ucomm-3140-w00 - ucomm-3140-w21

    Example session:

    ishaan@IshaanPC:~/229_lab2/$ ssh -Y bagai@ohaton.cs.ualberta.ca
    bagai@ohaton's password:
    
    Last login: Sat Sep  6 11:23:33 2025 from 142.59.70.122
    
    bagai@ohaton:~$ ssh -Y bagai@ucomm-2030-w01
    bagai@ucomm-2030-w01's password:
  2. Log in using the password associated with your CCID.

  • Run the following command:
    rars
    the GUI interface should appear in your screen.
  • Note: For MacOS, the ability to forward SSH over X11 currently only works if you have XQuartz installed.
  • Using PuTTy and Xming to remotely connect to Lab Machines from a Windows computer

    1. Download the PuTTy MSI (‘Windows Installer’) from this Link and Install it.
    2. Download this Xming installer and install Xming onto your computer.
    3. Launch the PuTTy application.
    4. Enable X11 forwarding inside the PuTTy application from Connection > SSH > X11
    5. Enter the Host name in Session > Logging. Host name is ohaton.cs.ualberta.ca
    6. From here ssh, following the above steps for linux, into a specific UG lab machine if required
    7. (Optional) Name and Save session below in order to reload these configuration whenever you want to remotely connect to a Lab machine.
    8. Press Open. PuTTY will now remotely connect to a Lab Machine, Log in using your csid and password.
    9. Run rars to test it out.