PuTTy Guide¶
Published on 27th September, 2022.
Introduction¶
PuTTy is a SSH client for Windows user. In this tutorial, we will cover generating SSH key pair and connecting to CREATE. You can obtain the latest version of the PuTTY from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Generating SSH key¶
PuTTY uses ppk format SSH key. https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
After you started the PuTTy Key Generator, puttygen.exe
- click generate
- move the mouse cursor within the PuTTy Key Generator Window. This action is to generate randomness.
- Save the public key
- Save the private key
Uploading your public key to e-research portal¶
Your public key should look like the example below:
1 2 3 4 5 6 7 8 9 |
|
Warning
Do not upload the example SSH key to your e-research portal.
The e-research portal does not accept the PuTTy Key Generator format of SSH key. Some re-formatting is required.
You need to
- remove the new lines from your SSH key.
- add ssh-rsa at the beginning of your SSH key.
After re-formatting, the first line is 'ssh-rsa' and the second line is your public key (without any new line) It should look like the example below:
1 2 |
|
You can upload the re-formatted SSH key to e-research portal.
Connecting to CREATE¶
After you started the PuTTy, putty.exe
- Host Name (or IP address), fill in
hpc.create.kcl.ac.uk
- click Connection->Data (on left panel)
- Auto-login username, fill in user's knumber (without @kcl.ac.uk)
- click Connection->SSH->Auth (on left panel)
- Private key file for authentication:
- click Browse...
- select your private key
- click open