Skip to content

Latest commit

 

History

History
title date project section weight icon
SSH
2019-01-31 22:06:00 +0000
Oscar
Connecting to Oscar
0
check

SSH (Terminal)

To log in to Oscar you need Secure Shell (SSH) on your computer.

{% hint style="info" %} You need log in using your Brown password. Old Oscar password can not be used for ssh any more. {% endhint %}

There are two options for signing into Oscar: with or without VPN.

{% hint style="info" %} If you are connected to the Brown VPN, you have the option of using an SSH key pair to connect to Oscar without having to enter your password. {% endhint %}

Summary of SSH Hosts

macOS and Linux

To log in to Oscar, open a terminal and

  • If you are not connected to the Brown VPN, use the following command:
  • If you are connected to the Brown VPN, use the following command:

The -X allows Oscar to display windows on your machine. This allows you to open and use GUI-based applications, such as the text editor gedit.

{% hint style="info" %} Watch our videos on SSHing on Linux and SSHing on Mac. {% endhint %}

Windows

Windows users need to install an SSH client. We recommend PuTTY, a free SSH client for Windows.

  • If you are not connected to the Brown VPN, use [email protected] as the Host Name and click Open.

  • If you are connected to the Brown VPN, use [email protected] as the Host Name and click Open.

{% hint style="info" %} Confused? Watch our tutorial on PuTTY installation or SSHing to Oscar on Windows. {% endhint %}

Connecting to Oscar for the First Time

The first time you connect to Oscar you will see a message about the authenticity of the host:

The authenticity of host 'ssh.ccv.brown.edu (138.16.172.8)' can't be established.
RSA key fingerprint is SHA256:Nt***************vL3cH7A.
Are you sure you want to continue connecting (yes/no)?

You can type yes and press return. On subsequent logins you should not see this message.

You will then be prompted for your password.

{% hint style="info" %} Nothing will show up on the screen as you type in your password. Just type it in and press enter. {% endhint %}

You will now be in your home directory on Oscar. In your terminal you will see a prompt like this:

[username@login004 ~]$

Congratulations, you are now on one of the Oscar login nodes! The login nodes are for administrative tasks such as editing files and compiling code. To use Oscar for computation you will need to use the compute nodes. To get to the compute nodes from the login nodes you can either start an interactive session on a compute node, or submit a batch job.

{% hint style="danger" %} Please do not run CPU-intense or long-running programs directly on the login nodes! The login nodes are shared by many users, and you will interrupt other users' work. {% endhint %}