Cloud¶
Procedure for connecting to the group platform.¶
The group's platforms, its specially configured cloud instance (OS, software, disks) according to the needs of the different research groups.
Prerequisites¶
Have an account at CPPM. Otherwise, request the creation of an account with the operational team.
Prepare your environment¶
Check the existence of a pair of ssh keys. You should find files of type id_rsa_ and id_rsa.pub_ in the re "~/.ssh" directory.
$ ls .ssh/id_rsa*
.ssh/id_rsa .ssh/id_rsa.pub
Otherwise we must construct our pair of rsa keys.
$ ssh-keygen -t rsa
Authorize connections
$ cd ~/.ssh
$ cat id_rsa.pub >> authorized_keys
$ chmod 400 authorized_keys
Connecting to the cloud instance¶
Ask the administrator ( cloudadmin@cppm.in2p3.fr ) about the machine(s) of group.
$ ssh [ -i PRIVATE_KEY ] USER@MACHINE|IP
To connect
$ ssh xiloa@192.168.2.113
Last login: Sat Oct 7 10:41:27 2023 from gotty-01.cppm-cloud.in2p3.fr
_ _ _ ___ _ _
| | |__ ___| |__ / _ \| || |
| | '_ \ / __| '_ \ _____ | | | | || |_
| | | | | (__| |_) | |_____| | |_| |__ _|
|_|_| |_|\___|_.__/ \___/ |_|
$ ps
PID TTY TIME CMD
12659 pts/6 00:00:00 bash
12864 pts/6 00:00:00 ps
Assistance¶
In case of problems
-
Check file permissions (important).
-
Multiple failed connections in a short period of time may cause to be rejected.
-
Contact an administrator cloudadmin@cppm.in2p3.fr
Notes:¶
Concerning RH9 systems¶
A problem spotted lately in AlmaLinux 9 systems is the inability to connect with the RSA pair of keys. A solution that works is to build a key pair of type ed25519.
$ ssh-keygen -t ed25519
$ cd .ssh
$ cat id_ed25519.pub >> authorized_keys
In this case, be sure to choose the correct private key with the "-i" parameter of the ssh command.
Connecting from a host outside CPPM¶
The public key of your external host must be present in the fichier "authorized_keys" placed in the ".ssh" directory of your home directory in the CPPM.
The Instances in your group¶
For know the instances managed for your group, consult the next url or ask for them to your cloud admin.
Ex:
Change "my_group" for youtr group ( ex: atlas, lhcb, renoir, belle2, ....)
https://marmon.in2p3.fr/cloud/cppm/my_group