Connecting to Linux Using SSH
Mac OS X
Open a Terminal
- Click on spotlight at the top right of the screen and enter “terminal”. Then click on the terminal program icon.
- Enter the command to connect to the server
ssh user@servername.nceas.ucsb.edu
- If this is the first time connecting to the server, enter “yes” to accept the server’s SSH key
Note that when you type your password, there is no indication that your are typing (such as: •••••••••)
Windows
- Download and install Putty.
- Enter the server name
- Save the session for future use.
- Click “Open”, agree to any message asking if you wish to accept the server’s key
- Enter your username and password. Note that when you type your password, there is no indication that your are typing (such as: •••••••••) You should have a similar window as below once succesfully connected
Ubuntu Linux
- Open a Terminal
- Enter the command to connect to the server
ssh user@servername.nceas.ucsb.edu
- If this is the first time connecting to the server, enter “yes” to accept the server’s SSH key
Note that when you type your password, there is no indication that your are typing (such as: •••••••••)
Connecting with X11 forwarding
X11 forwarding allows the use of GUI applications over the network. There are some significant issues with X11, including low performance and lost sessions when disconnecting from the network. For these reasons we recommend using x2go instead of X11 for all use cases.
Ubuntu Linux
ssh -Y user@servername.nceas.ucsb.edu
Mac OS X
- Start X11
- when X11 starts, it will open an xterm window. From inside that xterm window, SSH to the server
$ ssh -Y user@servername.nceas.ucsb.edu
- run your program
$ matlab
External Links