Login servers
Login servers
There are four login servers available to access resources within JASMIN.
Users with the jasmin-login
access role can access the following servers via
SSH
.
name |
---|
login-01.jasmin.ac.uk |
login-02.jasmin.ac.uk |
login-03.jasmin.ac.uk |
login-04.jasmin.ac.uk |
Login servers have minimal resources and software installed. They provide:
/home/users/<username>
)*.ac.uk
domains with the JASMIN team.ssh -V
. If
it’s significantly older than OpenSSH_8.7p1, OpenSSL 3.0.7
, speak to your local
admin team as it may need to be updated before you can connect securely to JASMIN.See also How to login and other articles in the Getting started category.
See also NoMachine NX service which provides login to a graphical Linux desktop, rather than a single terminal window.
For full details of how to log in, including making onward connections to other machines, please see the article “How to login”.
Users are not permitted to execute commands which require
administrative privileges. This applies to all hosts in the managed part of
JASMIN where users have SSH login access (for example login
, nx
,
sci
, xfer
and hpxfer
machines).
In other words, the use of su
and sudo
is not permitted.
Please be careful when typing commands,
particularly if you have multiple terminal windows open on your own computer,
that you do not accidentally attempt sudo
on a JASMIN machine: expect some
follow-up from the JASMIN team if you do!
The connection via a login server can be done either with 2 hops, or using a login server as a Jump Host (-J):
ssh -A fred@login-01.jasmin.ac.uk
ssh fred@sci-vm-01.jasmin.ac.uk
# no -A needed for this step, if no onward connections from sci server
# now on sci server
ssh -A fred@login-01.jasmin.ac.uk -J fred@login-01.jasmin.ac.uk
# now on sci server
Alternatively, the same effect can be achieved with a ProxyJump directive in your local ~/.ssh/config
file:
Host Sci1ViaLogin01
User fred
ForwardAgent yes
HostName sci-vm-01.jasmin.ac.uk
ProxyJump fred@login-01.jasmin.ac.uk
You could then simply connect to Sci1ViaLogin01
:
ssh Sci1ViaLogin01
# now on sci server
This sort of configuration is useful for connections needed by remote editing/development tools such as VSCode. The example above relies on having your key loaded locally in an ssh-agent.
An alternative is to include a line specifying the location of your key, so you’ll then be prompted for your passphrase whenever you connect:
Host Sci1ViaLogin01
User fred
ForwardAgent yes
HostName sci-vm-01.jasmin.ac.uk
ProxyJump fred@login-01.jasmin.ac.uk
IdentityFile ~/.ssh/id_rsa_jasmin