You can use Putty (puttygen.exe) to generate SSH key pair, you may download puttygen for free from here
1-1. Download and start the puttygen.exe.
1-2. In the "Parameters" section choose SSH-2 RSA and press Generate.
1-3. Move your mouse randomly in the small screen in order to generate the key pairs.
1-4. Type in the passphrase and confirm it. The passphrase is used to protect your key. You will be asked for it when you connect via SSH.
1-5. Click "Save private key" to save your private key (for client side).
1-6. Click "Save public key" to save your public key (for server side).
Step 2 - Send the public key to the server
Step 3 - Server administrator specify the public key to an user
At "Domains->Users->Edit User->Limit->SSH public key path"
Then you can login the server with SSH using your private key.
BTW, ssh-keygen under Linux can be used to generate the key pair too, like this:
- Code: Select all
ssh-keygen -t rsa