Hoffman2:Accessing the Cluster

From Center for Cognitive Neuroscience
Revision as of 22:18, 11 January 2019 by Hwang (talk | contribs) (→‎X2go - GUI)
Jump to navigation Jump to search

Back to all things Hoffman2

Here are some of our favorite ways to access the Hoffman2 Cluster login nodes.

SSH - Command Line

SSH stands for Secure Shell and is a method of remotely logging into a computer using an encrypted connection. It is a command line tool and is available on most *nix-based operating systems with ports available for Windows.

Mac/Linux/Unix

Simple SSH

Use the ssh command from a terminal:

ssh login_id@hoffman2.idre.ucla.edu

where login_id is replaced by your cluster user name.


GUI-Enabled SSH [Recommended]

Macs (post - Snow Leopard 10.6.x) no longer come with a X Window System Server pre-installed.

Before doing the following steps, please install XQuartz and restart your computer. For more information about XQuartz, read here.

      • WARNING*** MacOSX10 Yosemite needs to add "export Display=:0.0" to the local user Profile in order for it to work.
  1. Open up X11/XQuartz or Terminal. Both are under Applications > Utilities on Macs.
  2. Type the command
    $ ssh -Y [USERNAME]@hoffman2.idre.ucla.edu
    filling in your Hoffman2 username.
    The -Y is for X11 Forwarding so that any graphics that are rendered on Hoffman2 get forwarded to the screen of your computer.
  3. Press enter and type in your password when it asks for it. No characters or asterisks will show up while you type.
  4. Provided your typing was good, you will be greeted by the Hoffman2 login message and have successfully SSH into a login node.

Windows

  1. Go here and follow the instructions under Windows. We recommend PuTTY or Cgywin.
(If you use putty, please install [ xming http://sourceforge.net/projects/xming/ ] for GUI access.
  1. Once you have that setup, the process is the same as if you were on a Mac or Linux/Unix machine

X2go - GUI

x2Go provides a desktop like GUI for accessing Hoffman

Please see here to find out more about setup details.

NX Client - GUI

The NX Client program allows you to set up a Virtual Network Computing (VNC)-like session with Hoffman2. This session will keep running even if your Internet connection drops in and out (much like screen on the command line).

Please see the Hoffman2 NX Client documentation for more information.


Change Passwords

Once you've logged on and made sure its works, you can change your password to something more rememberable To change passwords, logon and type:

passwd

It should ask you for your old password and then new ones.


External Links