Programming Remotely

You can create, edit, and test programs on the department server from your own computer by using a secure shell and the invalid page text editor.

  1. Start jEdit on your own computer.
    Note
    Note
    If you have not already installed jEdit on your own computer, then visit the invalid page web page to install the application.
  2. Create a new source file or load an existing source file from the department server (see the invalid page web page for more information).
  3. Open a terminal window (on a Mac) or a command prompt (on Windows 10).
    Note
    Note
    Under Windows, the command prompt can be opened by entering command in the search bar and clicking on the "Command Prompt" icon.
  4. Connect to the department server and login remotely by entering the @@ssh@@ (secure shell) command at the prompt:
    ssh username@pascal.rmc.edu
    

    where username is your Linux login name and pascal.rmc.edu is the name of the department's Linux server on which your home directory is actually stored.

    If you are prompted with a question similar to the following

    ECDSA key fingerprint is SHA256:L7bXtbkm/RsQnfv6uRxoXab9EmzGkngUikiE150mLr8.
    Are you sure you want to continue connecting (yes/no/[fingerprint])?
    

    type yes and press Enter.

    Note
    Note
    Note that a new shell is executed on the remote computer and the command-line prompt displayed in the terminal is controlled by the shell on the remote computer. Further, only the commands entered at the command-line for the shell on the remote computer are executed on the remote computer. GUI applications and the commands entered into other terminal windows are executed on your computer.
  5. To edit and run C/C++ programs, you can work on pascal or you can ssh into one of the lab computers. To connect to one of the lab computers, use the ssh command:
    ssh computer-name
    

    where computer-name is the name of one of the computers in the Linux lab. The computers in the Linux lab are named cslab1, cslab2, cslab3, ... cslab30 or cslab101, ... cslab130.

    Note
    Note
    When using ssh from one of the department's Linux computers or the server, you do not have to specify your username. In this case, it automatically uses the same username that you used to login to the Linux computer.

When you have finished working remotely, you need to logout of the remote computers. This can be done by either pressing Ctrl-D or by entering logout at the command-line prompt.

  July 2, 2026 at 11:21 AM