title | date | project | section | weight | icon |
---|---|---|---|---|---|
SSH |
2019-01-31 22:06:00 +0000 |
Oscar |
Connecting to Oscar |
0 |
check |
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 %}
ssh.ccv.brown.edu
You can connect from anywhere. You will need Two Factor Authenticationsshcampus.ccv.brown.edu
You can connect when whithin Brown Wifi, Network or VPN. You will need to set up passwordless authentication.desktop.ccv.brown.edu
This is the host to be used when connecting from a remote IDE, i.e., Visual Studio Code.transfer.ccv.brown.edu
This host is used to transfer files to/from oscar using SFTP protocol
To log in to Oscar, open a terminal and
- If you are not connected to the Brown VPN, use the following command:
ssh -X [email protected]
- If you are connected to the Brown VPN, use the following command:
ssh -X [email protected]
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 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 %}
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 %}