Creating an SSH key using MobaXterm on Windows
Step 1: Open MobaXterm
Launch MobaXterm on your Windows system.
Step 2: Access the SSH Key Generator
Go to the top menu bar and click on Tools.
From the dropdown menu, select MobaKeyGen (SSH Key Generator).
Step 3: Generate the SSH Key
Key Type:
In the MobaKeyGen window, choose the key type. Typically, RSA is a good choice. For newer systems, you might also consider ED25519 for better security.
If using RSA, select the key size (e.g., 2048 or 4096 bits for stronger security).
Generate the Key:
Click Generate.
Move your mouse over the blank area in the window to generate randomness for the key.
Step 4: Save the Key Pair
Private Key:
Click Save private key.
Choose a secure location on your computer (e.g.,
C:\Users\<YourUsername>\.ssh\
).If prompted, you can set a passphrase for additional security.
Public Key:
Click Save public key and save it in the same folder or another accessible location.
Alternatively, you can copy the public key text from the text box and save it to a file named
id_rsa.pub
or the appropriate key type file.