Connecting to the cluster#
If you have not already applied for and been granted access to the cluster, then please see the Applying for access page before continuing.
The cluster's is accessible via SSH at esrumhead01fl.unicph.domain
.
This is the Esrum "head" node, which serves as the entry-point for the
cluster and which gives you access to the job management system used for
running software (see Running jobs using Slurm)
To connect to the cluster you will typically need to be connected to the UCPH VPN. For information about connecting to the VPN, see the support pages on KUnet in Danish and English. See also the Connecting on Linux section for an alternative means of connecting to the VPN.
Connecting on Windows#
Windows users will need to install a SSH client in order to be able to connect to the server. Options include MobaXterm, Putty, and Windows Subsystem for Linux (WSL), and much more. The following demonstrates how to set up MobaXterm. Please refer to the Connecting on Linux section if using WSL.
Configuring MobaXterm#
Install and open MobaXterm.
Click left-most
Session
button on the toolbar.Click on the left-most
SSH
button on the resultingSession settings
dialogUnder
Basic SSH settings
Write
esrumhead01fl.unicph.domain
underRemote Host
Click the checkbox next to
Specify username
and enter your UCPH username (in the formabc123
)Select
SCP (enhanced speed)
on theSSH-browser
type drop-down menu. This is required for file-uploads to work.
Click on the
Bookmark settings
tab andWrite
Esrum
or a name you prefer underSession Name
Optionally click the
Create a desktop shortcut to this session
button. This will create a shortcut on your desktop that connects to Esrum.
Click OK and you should connect to the server. The first time you connect a new server you if you want to proceed. As this is the first time we are connecting to Esrum, simply press Accept:
Warning
If you receive this question again later, then stop and double-check that you are connected via the UCPH VPN, as the message could indicate that you are not actually connecting to Esrum!
You should now be able to log in to the server:
For security reasons we recommend that you decline when asked if you want to save your password.
Reconnecting with MobaXterm#
To connect again another time, either use the desktop shortcut (if you
created it), double-click on Esrum
in the list of sessions on the
left side of MobaXterm, or select Esrum
from the list that appears
when clicking on the Sessions
button on the main menu.
Accessing network drives via MobaXterm#
In order to access your UCPH network drives (H:
, N:
, and S:
)
via Esrum, you must disable logins using Kerberos (GSSAPI). To do so,
open the Configuration
dialog as shown:
Then untick the GSSAPI Kerberos
checkbox as shown and click the
OK
button:
Connecting on OSX#
While Mac/OSX users can connect as described in the Connecting on Linux section below, there are also graphical interfaces available, including for example Tabby.
Connecting on Linux#
The official instructions for connecting to the VPN under Linux (in
Danish and English) are written under the assumption that you are
using KDE5. If that is not the case, or if you prefer a command-line
solution, then you can also connect using openconnect
, replacing
abc123
with your UCPH username:
$ sudo openconnect -u abc123 vpn.ku.dk
Depending on how you have configured multifactor authentication for UCPH (see <https://mfa.ku.dk>), you will have to authenticate the login using one of the following methods:
If using NetIQ, open the app on your phone and approve the login.
If asked, enter the time based one-time password (TOTP) generated by the app you have enrolled
Note
It may be possible to authenticate using additional methods, such as
Yubikeys, but we currently cannot offer a guide to using those with
openconnect
.
You will likely have to install openconnect
first, in which case
please refer to the documentation for the Linux distro you are using.
OSX users can install openconnect
using Homebrew.
Once connected to the VPN, you can connect to the cluster using ssh
and the following terminal command, again replacing abc123
with your
UCPH username:
$ ssh abc123@esrumhead01fl.unicph.domain
It is recommended to add an entry for the cluster to your
.ssh/config
file, replacing abc123
with your UCPH username:
$ cat ~/.ssh/config
Host esrum esrumhead01fl esrumhead01fl.unicph.domain
HostName esrumhead01fl.unicph.domain
User abc123
This allows you to connect to the server using the names esrum
,
esrumhead01fl
, or esrumhead01fl.unicph.domain
, and without
having to specify your username:
$ ssh esrum
abc123@esrumhead01fl.unicph.domain's password:
__
/ \
_\__/ Welcome to esrumhead01fl
(_) University of Copenhagen
_____O______________________________________
Supported by UNICPH IT it.ku.dk/english
Last login: Fri Oct 13 01:35:00 1980 from 127.0.0.1
$
Note
Note that the cluster does not support authentication through a public SSH key and that you therefore have to enter your password when connecting to the server.
Troubleshooting#
If you have not already been granted access to the server, then please see the Applying for access page before continuing!
Timeout while connecting to the cluster#
You may experience timeout errors when you attempt to connect to the server:
Firstly verify that you are correctly connected to the UCPH network. In order to connect to Esrum you must either use a wired connection in a CBMR office, or you must be connected through the UCPH VPN. See the official VPN documentation in Danish or English for more information.
If you are still unable to connect to Esrum after verifying that you are correctly connected to the UCPH network, then please try to visit either our Project Manager or our Cohort Catalog.
If you are able to visit either of the Project Manager or Cohort Catalog pages, then you most likely do not have proper permissions to connect to Esrum. Please contact us and we will provide further guidance.
If you are unable to connect to the VPN or to either of the above pages
while connected to the VPN, then there may be other problems with your
account. We recommend that you either contact us for
assistance or, if you prefer, that you submit a ticket to the UCPH-IT
Serviceportal, using the Research Applications Counseling and
Support
/ Forskningsapplikationer RĂ„dgivning og support
ticket
category.
File uploads using MobaXterm never start#
Please make sure that your session is configured to use the SCP
(enhanced speed)
browser type. See step 4 in the
Configuring MobaXterm section.
UCPH network-folders in ~/ucph
are not available when using MobaXterm#
Please make sure that you have disabled use of GSSAPI Kerberos
as
described in the Configuring MobaXterm section.