# User Profile ## Generate a public/private key pair with MobaXterm on Windows ### Get MobaXterm — a terminal and key generator application Your OS does not come with a default terminal and key generator application, so you will need to download and install one. There are many options all of which have their own pros and cons; we suggest you give **MobaXterm version ≥ 12.3** a try as it features a key generator, terminal and graphical user interface for data transfers all-in-one. The following steps use the **portable version of MobaXterm Home Edition**, which is free and does not need to be installed with an installer; just download, unpack and execute. If you want to use another terminal, key generator or data transfer app please consult their manuals. #### Launch MobaXterm key pair generator 0. Check your MobaXterm version is 12.3 or newer as older ones have a known bug and won't work. 1. Launch MobaXterm and choose the `MobaKeyGen (SSH key generator)` from the tools as shown in the screenshot below. ![MobaXterm1](/_static/MobaXterm1.png) #### Configure key pair generator 2. From the parameters section at the bottom of the window choose: **Type of key to generate:** `ED25519` 3. Click the **Generate** button... ![MobaXterm2](/_static/MobaXterm2.png) #### Generate key pair 4. Yes — you really have to move the mouse now: computers are pretty bad at generating random numbers and MobaKeyGen uses the coordinates of your mouse movement as a seed to generate a random number. ![MobaXterm3](/_static/MobaXterm3.png) #### Secure private key and save pair to disk Your key pair was generated. 5. Replace the comment in “Key comment” with your first initial followed by (optionally your middle name followed by) your family name all in lowercase and without any separators like spaces, dots or underscores. _So e.g. if your name is "Jack Peter Frank the Hippo", use `your@email` as comment._ 6. Secure your private key with a good password before saving the private key. **Do not** choose a simple password or — even worse — an empty one! 7. Confirm the password. 8. Click the **Save public key** button. 9. Click the **Save private key** button. 10. Select and copy all the text in the text box at the top of the window underneath *Public key for pasting into OpenSSH authorized_keys file*. This is what you will paste into your `authorized_keys` file (or send via email in the next step). ![MobaXterm4](/_static/MobaXterm4.png) ## Add public key into your profile 1. Open User profile 2. Navigate to SSH page 3. Click "+" button 4. Paste *Public key for pasting into OpenSSH authorized_keys file* 5. Press "ADD Key" ![UserProfileSSH](/_static/UserProfileSSH.png)