Connecting to CSIL
On Mac OS X:
- Open the “Terminal” application. It is found inside the Applications folder of your main drive, inside the Utilities subfolder. The icon looks like this:
You can also find it using Spotlight by typing “terminal” and pressing ENTER.
Once you have a terminal window open on your machine, you next need to connect to the CSIL server remotely.
You will do this using a UNIX command (an internet protocol, really) called SSH (short for Secure SHell).
Type the following command in your terminal, replacing USERNAME with your CoE username
The $ represents the terminal prompt; you won’t type this character. Whenever you see it, that means that the following command is intended to be typed into the terminal window and run by pressing Enter.
$ ssh USERNAME@csil.cs.ucsb.edu
SSH will first ask you a question which looks like this:
The authenticity of host 'csil.cs.ucsb.edu (128.111.43.14)' can't be established.
RSA key fingerprint is 90:ab:6a:31:0b:81:62:25:9b:11:50:05:18:d3:1a:b5.
Are you sure you want to continue connecting (yes/no)?
Type yes and then ENTER to continue. It will next ask for your CoE account password. When you type it in, nothing will show on the screen (not even dots). However, what you type is still being sent and once you are finished with your password, you can press ENTER to login.
You should now be remotely connected to CSIL! You can make sure by typing the following command (which will tell you what machine you are currently issuing commands to):
$ hostname
This should show csil-[01-48].cs.ucsb.edu. You can now do anything you could normally do in a terminal window in CSIL or the Phelps lab (except run graphical programs).
Connecting to CSIL via SSH on Windows through the Command Prompt (CMD)
Windows has it’s built-in SSH client, and you can connect through CSIL directly through SSH from the CMD.
To install the SSH Client:
- Go to your
Windows Settings
- Then, go to
Apps
- Under
Apps
, go toManage optional features
under the pageApps & features
- From there, click
Add a feature
- Scroll all the way down, find
OpenSSH Client
, install it - If
OpenSSH Client
isn’t underAdd a feature
, go back, scroll all the way down and check if your Windows already has theOpenSSH Client
- If Windows prompts a restart, restart your computer
Now that you have your Windows SSH client installed, open your Command Prompt
Follow the command for MacOS from above, you should be prompted with the same messages, prompts to enter your COE password. Once successful, you should now be connected to CSIL through SSH, under Windows’ CMD
Note: You can now also use scp
to copy files between your laptop and CSIL
On Ubuntu (an example of a Linux OS):
- Find the search menu. It appears at the top of the Unity bar:
- Click on that icon to open the search menu. Then type “terminal” and click on the “Terminal” application which appears:
- Follow the command for MacOS from above, you should be prompted with the same messages, prompts to enter your COE password. Once successful, you should now be connected to CSIL through SSH, under Windows’ CMD