User Login
1 Login Nodes
The login nodes are the only interface by which users use the computation platform. Users edit files, debug programs and submit their job scripts on the login nodes. Users can use the computing resources after successfully logged in to the computing platform with their AFS accounts and passwords.
The operation systems provided by the computing platform are Scientific Linux, and the OS version of login nodes are listed in Tab. 1. No. 2 is the login node information for LHAASO cluster and 3 for HXMT.
| No. | OS of Login Nodes | Num | Domain |
|---|---|---|---|
| 1 | CentOS Linux 7.8 (64 bit) | 16 (701-716) | lxlogin.ihep.ac.cn |
| 2 | Scientific Linux 7.5 (64 bit) | 2 (01-02) | lhmtlogin.lhaaso.ihep.ac.cn |
| 3 | CentOS 7.8 (64 bit) | 11 (01-11) | hlogin.ihep.ac.cn |
Computing Center has deployed loading balancing policies for the three types of login nodes, and the computation platform will automatically assigin a login node with the lightest load to user so long as he or she specify the domain of login node.
2 Login Clusters via SSH
Here we will illustrate the cluster login steps under Windows, Linux and macOS via ssh.
2.1 Login Clusters under Linux
Running ssh in the terminal is the most convenient way to login clusters.
Login nodes. Due to the permission problem of AFS, user cannot modify anything after logged in via private keys, so user should use
PASSWORDto login clusters.[user@localhost ~] ssh username@lxlogin.ihep.ac.cnUse private key or password to login clusters, and one need to run
aklog -dif logged in via private keys, while don't need to if viaPASSWORD.### using password [user@localhost ~] ssh username@lxlogin.ihep.ac.cn ### using private key [user@localhost ~] ssh -i ~/.ssh/id_rsa username@lxlogin.ihep.ac.cn [username@lxlogin-001 ~] kinit Password:Login LHAASO cluster. The OS of LHAASO login nodes are SL7, one need to run
aklogafter logged in via private keys.[user@localhost ~] ssh username@lhmtlogin.lhaaso.ihep.ac.cn [username@lhmtlogin-xxx ~] kinit Password:
2.2 Login Clusters under macOS
Please refer to the procedures of Login Clusters under Linux.
2.3 Login Clusters under Windows
There is no native SSH clients under Windows before Windows 10, under which user can add OpenSSH by adding additional functions in the Control Panel.
2.3.1 SSH Clients
There are many 3rd-party ssh clients, and here some frequently-used clients are listed as following:
- Putty。
- Git for Windows
- cmder - Full version.
- MobaXterm
- Solar Putty
- WinSCP
- Bitvise SSH
- Xshell
- SSH Shell Client
- WSL for Windows - Windows 10 Only.
2.3.2 Login Procedures Illustration
Here we will illustrate the login process of Putty.
- Download Putty installer package and install Putty 。
- Open Putty, and fill
Host Namewithuser@hostname,Portusually with22. Presssavebutton to save session. If there is a saved session, select the saved session, and pressloadbutton to load the session.

- If one wannt login cluster with private key,fill
Connection->SSH->Authwith own private key's path,as following.

- Login clusters. Press the
Openbutton.

One might be encountered with the problem ofhost keynot matching, and pressYes.

If one login without private key, one will be asked to provide password to login clusters.

3 Remote Desktop to Login Clusters
One can login clusters via remote desktop by way of VNC and Remote Desktop.
3.1 Login Clusters via VNC
3.1.1
For the first time using VNC, the remote system will ask you to generating a password for VNC login.
$[username@lxlogin-001 ~] vncserver
You will require a password to access your desktops.
Password:
Verify:
New 'lxlogin-001.ihep.ac.cn:1 (username)' desktop is lxlogin-001.ihep.ac.cn:1
Creating default startup script /afs/ihep.ac.cn/users/u/username/.vnc/xstartup
Starting applications specified in /afs/ihep.ac.cn/users/u/username/.vnc/xstartup
Log file is /afs/ihep.ac.cn/users/u/username/.vnc/lxlogin-001.ihep.ac.cn:1.log
Next time to login via VNC, one only need to run vncserver on the clusters and then login via VNC softwares.