Hoffman2:Accessing the Cluster: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
m (update nx client information)
Line 4: Line 4:


==SSH - Command Line==
==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.
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===
===Mac/Linux/Unix===
Line 14: Line 14:


====GUI-Enabled SSH [Recommended]====
====GUI-Enabled SSH [Recommended]====
Macs (post - Snow Leopard 10.6.x) no longer come with a X Window System Server pre-installed.
Macs (post - Snow Leopard 10.6.x) no longer come with an X Window System Server pre-installed.


'''Before doing the following steps, please install [http://xquartz.macosforge.org/ XQuartz] and restart your computer.'''
'''Before doing the following steps, please install [http://xquartz.macosforge.org/ XQuartz] and restart your computer.'''
Line 29: Line 29:
===Windows===
===Windows===
# Go [http://www.hoffman2.idre.ucla.edu/access/login/ here] and follow the instructions under ''Windows''.  We recommend [http://www.hoffman2.idre.ucla.edu/access/putty/ PuTTY] or Cgywin.
# Go [http://www.hoffman2.idre.ucla.edu/access/login/ here] and follow the instructions under ''Windows''.  We recommend [http://www.hoffman2.idre.ucla.edu/access/putty/ PuTTY] or Cgywin.
(If you use putty, please install [ xming http://sourceforge.net/projects/xming/ ] for GUI access.
#: If you use putty, please install [http://sourceforge.net/projects/xming/ xming] for GUI access.
# Once you have that setup, the process is the same as if you were on a Mac or Linux/Unix machine
# 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 server.
Please see [https://www.ccn.ucla.edu/wiki/index.php/X2go here] to find out more about setup details.


==NX Client - GUI==
==NX Client - GUI==
Line 42: Line 38:
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 [[Using Screen|screen]] on the command line).
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 [[Using Screen|screen]] on the command line).


Please see the [http://www.hoffman2.idre.ucla.edu/access/nx/ Hoffman2 NX Client documentation] for more information.
Currently, Hoffman supports connecting to the cluster via the '''X2Go''' client and the '''NoMachine''' client.
 
<!-- Please see the [https://www.hoffman2.idre.ucla.edu/access/#Connecting_via_the_NX_protocol Hoffman2 NX Client documentation] for more information. -->
 
===X2Go - GUI===
x2Go provides a desktop-like GUI for accessing the Hoffman server. Please see [https://www.ccn.ucla.edu/wiki/index.php/X2go here] to find out more about setup details.


<!--
<!--

Revision as of 23:58, 17 June 2020

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 an 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 for GUI access.
  2. Once you have that setup, the process is the same as if you were on a Mac or Linux/Unix machine


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).

Currently, Hoffman supports connecting to the cluster via the X2Go client and the NoMachine client.


X2Go - GUI

x2Go provides a desktop-like GUI for accessing the Hoffman server. Please see here to find out more about setup details.


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