Jump to content

SSH Access: Difference between revisions

From HPCwiki
Hjmegens (talk | contribs)
m Protected "SSH Access": Secure the SSH host keys ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(73 intermediate revisions by 10 users not shown)
Line 1: Line 1:
== Log on using ssh ==
This page explains how to connect to Anunna over SSH. Once you are logged in, see [[Login Nodes]] for what the login nodes are for, and [[Policies and Terms of Use]] for the rules that apply.
One can log into the B4F cluster (more specifically the nfs server) using ssh. The address of the nfs server is:
  nfs01.hpcagrogenomics.wur.nl


To log on one has to use an ssh (secure shell) client. Such client systems are always available from Linux or MacOS systems. For Window an ssh-client may need to be installed. The most popular ssh-client for Windows is Putty.
== Connecting ==


== Log on to worker nodes ==
You log in to Anunna using the Secure Shell protocol (SSH) on the default port (TCP 22). The address of the login server is:


== File transfer using ssh-based file transfer protocols ==
login.anunna.wur.nl
=== scp ===
=== rsync ===
=== winSCP ===
=== FileZilla ===


You are automatically redirected to a currently valid login server. An SSH client is built in on Linux and macOS; on Windows you usually install one, such as [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] or MobaXTerm.
On first login, your client might say something like this:<syntaxhighlight lang="shell">
Warning: Permanently added 'login.anunna.wur.nl' (ED25519) to the list of known hosts.
</syntaxhighlight>This is normal behaviour for a first connection to a SSH server.
If you want to check whether your first connection used the right machine, you can do this:<syntaxhighlight lang="shell">
cat ~/.ssh/known_hosts
# should give:
login.anunna.wur.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGwhEWBzyLKi5wZHBN0MeqYm45LSrDPMa6zQU/A1qGv3
</syntaxhighlight>Compare that against the following list, if all is well your key should be in there:<syntaxhighlight lang="shell">
login.anunna.wur.nl ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDoGfjT0F04SvHqQ7Ipv4uSiU7+Zno4Tdkg3fFkteo7GhqUw/bKMrESy26fss7f6iZyz7pLjbV21IZeMEYnVRj8e8PNwq/v63pbiMtly2e6HcUBTZJPEC0WcYnCP7j21koXrr5aDy9K1g60swyGIPAj0EuFisrq2fSHDm+z3XFQiLj23WL2KxueAndlB7XiWK3ZLlHc0aTQb0QpYvTD8uwHMxROuNZxgFsB6p4TQKKWayM8SXsgtxULIQ89NWgz500nOhCnZwRM6Ef/JzKoXM7z2s+5N3zjZZMGYZ3ItYI/u5HbTj7bSgazkqvvVOFU/6LIn9eoxsVy9X6hjKTYgCDl
login.anunna.wur.nl ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBI5+8Vb26kEhoEmh+KrczHbw5zOGAhO/utZxBkevPeArGVHTiEyhIib178rjpRq9eh+zwUwsj/KJK8j+4+4tNtA=
login.anunna.wur.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGwhEWBzyLKi5wZHBN0MeqYm45LSrDPMa6zQU/A1qGv3
</syntaxhighlight>
Note that access may be restricted to certain IP ranges, and SSH may be blocked (see [[Unblocking your IP|here]]) where port 22 is closed by a firewall. (For example, WUR FB-IT does not allow port 22 over WiFi to certain systems.)
'''The login server is an access point only — it is not for CPU- or memory-intensive work.''' Anything beyond light, interactive use belongs in a job; see [[Login Nodes]] and [[Scheduler Overview (Slurm)]].
=== Linux and macOS ===
An SSH client is available from any Linux or macOS terminal:
<syntaxhighlight lang="bash">
ssh <username>@login.anunna.wur.nl
</syntaxhighlight>
If the connection is refused, check if your IP is (temporarily) banned from connecting: https://unban.anunna.wur.nl/unban
=== Windows ===
On Windows you connect with an SSH client such as '''MobaXTerm''' or '''PuTTY'''. In either case, set the remote host to <code>login.anunna.wur.nl</code> and enter your username (not your email address) and WUR password. No characters appear while you type your password — this is normal.
For key-based login, generate an SSH key pair with the client's key generator (MobaKeygen in MobaXTerm, or PuTTYgen for PuTTY), protect it with a passphrase, and add the public key to <code>~/.ssh/authorized_keys</code> on Anunna. PuTTY users can hold the key in Pageant so they do not have to type the passphrase each time. See the [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY homepage] for full instructions.
== Logging in without a password ==
You can configure SSH to log in without typing your password each time; see [[ssh_without_password|SSH without password]].
== Connecting to a compute node ==
To open a shell or a direct connection on a compute node where your job is running, see [[Compute Nodes]].


== See also ==
== See also ==
* [[B4F_cluster | B4F Cluster]]
* [[Unblocking your IP]]
* [[Login Nodes]]
* [[Compute Nodes]]
* [[Data Transfer Methods]]
* [[Create shortcut log-in command]] — SSH aliases and ~/.ssh/config shortcuts
* [[ssh_without_password|SSH without password]]
* [[Scheduler Overview (Slurm)]]


== External links ==
== External links ==
* [http://en.wikipedia.org/wiki/Secure_Shell Secure Shell on Wikipedia]
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY homepage]

Latest revision as of 12:31, 10 November 2026

This page explains how to connect to Anunna over SSH. Once you are logged in, see Login Nodes for what the login nodes are for, and Policies and Terms of Use for the rules that apply.

Connecting

You log in to Anunna using the Secure Shell protocol (SSH) on the default port (TCP 22). The address of the login server is:

login.anunna.wur.nl

You are automatically redirected to a currently valid login server. An SSH client is built in on Linux and macOS; on Windows you usually install one, such as PuTTY or MobaXTerm.

On first login, your client might say something like this:

Warning: Permanently added 'login.anunna.wur.nl' (ED25519) to the list of known hosts.

This is normal behaviour for a first connection to a SSH server. If you want to check whether your first connection used the right machine, you can do this:

cat ~/.ssh/known_hosts
# should give:
login.anunna.wur.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGwhEWBzyLKi5wZHBN0MeqYm45LSrDPMa6zQU/A1qGv3

Compare that against the following list, if all is well your key should be in there:

login.anunna.wur.nl ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDoGfjT0F04SvHqQ7Ipv4uSiU7+Zno4Tdkg3fFkteo7GhqUw/bKMrESy26fss7f6iZyz7pLjbV21IZeMEYnVRj8e8PNwq/v63pbiMtly2e6HcUBTZJPEC0WcYnCP7j21koXrr5aDy9K1g60swyGIPAj0EuFisrq2fSHDm+z3XFQiLj23WL2KxueAndlB7XiWK3ZLlHc0aTQb0QpYvTD8uwHMxROuNZxgFsB6p4TQKKWayM8SXsgtxULIQ89NWgz500nOhCnZwRM6Ef/JzKoXM7z2s+5N3zjZZMGYZ3ItYI/u5HbTj7bSgazkqvvVOFU/6LIn9eoxsVy9X6hjKTYgCDl
login.anunna.wur.nl ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBI5+8Vb26kEhoEmh+KrczHbw5zOGAhO/utZxBkevPeArGVHTiEyhIib178rjpRq9eh+zwUwsj/KJK8j+4+4tNtA=
login.anunna.wur.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGwhEWBzyLKi5wZHBN0MeqYm45LSrDPMa6zQU/A1qGv3

Note that access may be restricted to certain IP ranges, and SSH may be blocked (see here) where port 22 is closed by a firewall. (For example, WUR FB-IT does not allow port 22 over WiFi to certain systems.)

The login server is an access point only — it is not for CPU- or memory-intensive work. Anything beyond light, interactive use belongs in a job; see Login Nodes and Scheduler Overview (Slurm).

Linux and macOS

An SSH client is available from any Linux or macOS terminal:

ssh <username>@login.anunna.wur.nl

If the connection is refused, check if your IP is (temporarily) banned from connecting: https://unban.anunna.wur.nl/unban

Windows

On Windows you connect with an SSH client such as MobaXTerm or PuTTY. In either case, set the remote host to login.anunna.wur.nl and enter your username (not your email address) and WUR password. No characters appear while you type your password — this is normal.

For key-based login, generate an SSH key pair with the client's key generator (MobaKeygen in MobaXTerm, or PuTTYgen for PuTTY), protect it with a passphrase, and add the public key to ~/.ssh/authorized_keys on Anunna. PuTTY users can hold the key in Pageant so they do not have to type the passphrase each time. See the PuTTY homepage for full instructions.

Logging in without a password

You can configure SSH to log in without typing your password each time; see SSH without password.

Connecting to a compute node

To open a shell or a direct connection on a compute node where your job is running, see Compute Nodes.

See also