When you would like putty to autologin to the HPC servers without asking for username and password every time you connect.
Step-by-step guide
Creating the Public/Private Key Pairs
- Open puttygen.exe
- Click Key → Parameters for Saving File

- Set PPK file Version: 2

- Click OK
- Click Generate
- Create some chaos (i.e. jiggle the mouse)
- Click Save private key
| Anchor |
|---|
| Save_location |
|---|
| Save_location |
|---|
|
- Click yes to save it without a passphrase to protect it
- Save it somewhere on a secure location (not "publicly" accessible)
- Copy all the text within the "Public key for pasting into OpenSSH authorized_keys file:" box
| Info |
|---|
Make sure you copy all the text as there usually is a scrollbar within the box. Your ending text should usually include "rsa-key-" or similar. |
- Open up a putty terminal
- Connect to HPC of choice
- navigate to ~/.ssh
- Add what you copied (your public key) to a new line in "authorized_keys" file
- You can use VIM, nano, or other
Setting Up Putty
- Open Putty (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)
- Connection→SSH→Auth
- Under "Private key file for authentication" click Browse
- Navigate to your private key file that you saved in step 4
- Click open

- Go back to session
- In "Host Name (or IP address)" put in: username@quantum-login1-ema
- Port: 22
- Don't forget to save your session so you don't have to repeat these steps
- Under "Saved Sessions" box enter a session name (e.g. EMA)
- Click Save

| Info |
|---|
|
If you want putty to automatically use a predefined username you can set it in Connection→Data 
|
Related articles
https://groups.google.com/a/solvay.com/g/sbs-quantum-hpc/c/7LqS_iGvRz8?hl=fr
| Google Drive Live Link |
|---|
| url | https://docs.google.com/document/d/1tCW16SVohZeSyU5mQP4P07iWK5yXT-KsxPH_8Gmxc4w/edit?usp=drivesdk |
|---|
|
| Google Drive Live Link |
|---|
| url | https://docs.google.com/document/d/1hne1gbQ0MJoC8G66imkCZGZLIZv4dzWFfMThdays1XE/edit?usp=drivesdk |
|---|
|
| Content by Label |
|---|
| showLabels | false |
|---|
| max | 5 |
|---|
| spaces | SM |
|---|
| showSpace | false |
|---|
| sort | modified |
|---|
| reverse | true |
|---|
| type | page |
|---|
| cql | label in ("putty","hpc") and type = "page" and space = "SM" |
|---|
| labels | putty hpc |
|---|
|