![leonardo](https://hackmd.io/_uploads/H1fpwOI6a.jpg) <font size=6 color=blueyellow>**Login to Leonardo Booster Cluster with Temporary Username and Password**</font> **Contribution**: <a><img src="https://img.shields.io/badge/ENCCS-blue?style=plastic"/></a> **Categories**: <a><img src="https://img.shields.io/badge/Blogpost-996300?style=plastic"/></a> <a><img src="https://img.shields.io/badge/CINECA-green?style=plastic"/></a> <a><img src="https://img.shields.io/badge/Leonardo Booster-3232ff?style=plastic"/></a> **Contents of this documents and quicklinks**: [TOC] --- # Windows Users ## <span style="background-color: cyan">PowerShell</span> - [Install PowerShell on Windows, Linux, and macOS](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7.4) - Open the PowerShell Terminal - ![powershell-terminal](https://hackmd.io/_uploads/Sk4oOu8pp.jpg) - Login the LB cluster using `ssh` command - ![powershell-login](https://hackmd.io/_uploads/r1QCddIT6.jpg) - Here ==`a08trb12`== is the temporary username. You should use the temporary username you get from the organizer of the workshop - Input the temporary password (a 10-digit string) you get from the organizer of the workshop - once successful, you will see the info in your PowerShell terminal - ![powershell-success](https://hackmd.io/_uploads/r1V9F_Lap.jpg) ## <span style="background-color: gold">MobaXterm</span> - [Download the Home Edition of MobaXterm and install it](https://mobaxterm.mobatek.net/download.html) - Start the MobaXterm program - ![mobaxterm-start](https://hackmd.io/_uploads/H1Hc5u8a6.png) - Click `Session` on the upper left corner and then click `SSH` in the new window that opens. - ![mobaxterm-session-ssh](https://hackmd.io/_uploads/rkZlGtUTa.jpg) - Fill in the name of the remote host (==`login.leonardo.cineca.it`==), check *Specify username* and fill in your own username - ![mobaxterm-session-ssh-host](https://hackmd.io/_uploads/r1UsoOUaa.jpg) - Click *OK* and then input your temporary password - once successful, you will see the info in your MobaXterm terminal - ![mobaxterm-session-ssh-success](https://hackmd.io/_uploads/SJ_En_LaT.jpg) - Your settings will be saved and you can login again by clicking on the host name under 'Saved sessions' on the start up window. - ![mobaxterm-session-ssh-saved](https://hackmd.io/_uploads/SJGMadUTa.jpg) --- # Mac OS Users ## <span style="background-color: pink">SSH</span> - Launch Terminal - Connect to the Leonardo Booster cluster by typing - ==`ssh a08trb12@login01-ext.leonardo.cineca.it -o hashknownhosts=no`== - here I use `a08trb12` for demonstration - Input the password and then you will see the info in your MobaXterm terminal - ![mac-ssh](https://hackmd.io/_uploads/H1VblFU6p.png) - There are four login nodes and you can pickup any one to login the cluster ```shell= ssh <username>@login01-ext.leonardo.cineca.it -o hashknownhosts=no ssh <username>@login02-ext.leonardo.cineca.it -o hashknownhosts=no ssh <username>@login05-ext.leonardo.cineca.it -o hashknownhosts=no ssh <username>@login07-ext.leonardo.cineca.it -o hashknownhosts=no ``` :::danger :::