User Tools

Site Tools


connecting_to_linux_using_ssh

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

Install Putty

Download and install Putty.

Enter the server name

Save the session for future use.

Connect

Click “Open”, agree to any message asking if you wish to accept the server's key<br>

⇒ Note that when you type your password, there is no indication that your are typing (such as: •••••••••)


Ubuntu Linux

Open a Terminal

Click “Applications” → “Accessories” → “Terminal”

Enter the command to connect to the server

 ssh user@servername.nceas.ucsb.edu

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.

Windows

  1. Start Xming
  2. Start Putty
  3. Enable X11 forwarding

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

connecting_to_linux_using_ssh.txt · Last modified: 2017/02/21 16:58 by brun