Skip to content

Instantly share code, notes, and snippets.

@peterwzhang
Last active March 22, 2022 02:18
Show Gist options
  • Save peterwzhang/b0ef584621016b77e7639ca09645bb82 to your computer and use it in GitHub Desktop.
Save peterwzhang/b0ef584621016b77e7639ca09645bb82 to your computer and use it in GitHub Desktop.
Using the cs-parallel.ua.edu Server

Using the cs-parallel.ua.edu Server

The cs-parallel.ua.edu server comes with the Glasgow Haskell Compiler (version 7.10.2) and the Cabal installation tool (version 1.22.6.0) preinstalled. In order to use the server you must be either on the Eduroam wifi or be connected to the UA VPN, you can follow the instructions here to install and use VPN.

Connecting to the Server in a Terminal

After you are connected to the Eduroam wifi or UA VPN, you can connect to the server using ssh.

You can run the following command in the terminal to connect: $ ssh [email protected] username is your myBama username. After entering the above command it will prompt you for a password, your password is the same as your myBama password.

Connecting to the Server with Visual Studio Code

Visual Studio Code has an extension pack, Remote Development, that allows you to open folders on a remote machine directly in VSCode. Pictures are provided for each step.

After installing the extension pack you can click the Remote Explorer button on the activity bar. remote-explorer Then on the Remote Explorer side panel click the + sign to add a new connection. It will then prompt you to enter a ssh connection command. Enter ssh [email protected] username is your myBama username. add-new-ssh After you press enter it will ask you to save the connection to a ssh configuration file. After you save your connection it should look like this: saved-connection Now you can right click on your connection in the Remote Explorer Panel and either connect in the current window or in a new window. connect After clicking either it will prompt you for your password, your password is the same as your myBama password. prompt-pass Now cs-parallel.ua.edu is opened on VSCode. You can open your directory by clicking the Explorer button on the activity bar and then click the "Open Folder" button. It may prompt you for your password again after opening your folder. open-folder

Syntax Highlighting with VSCode

In order to have syntax support with the server, install this extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment