How to create SSH Keys for Windows and MacOs or Linux

Step 1: Generating SSH keys: 
Select steps according to your operating system.

For Windows:

1. Download Putty and install.
2. Putty and puttygen will be installed, open puttygen. A dialog box will apear like this.

                                                       Puttygen

3. Click on Generate and copy the generated key.    

                                                       Puttygen Copy

4. Save the public key and private key.

5. Login into 
Xongl Cloud panel.
6. Click on deploy VM.
7. Select configuration and toggle to SSH key and paste the key.




Linux:

1.Generate a pair of keys:

    $ ssh-keygen

By default, ssh-keygen will create 2048-bit RSA key pair.

2. After entering the command you will see the following output:

    $ Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa):

Press enter to save.

3. If you had previously generated an SSH key pair, you may see the following prompt:


    $ Enter passphrase (empty for no passphrase): $ Enter same passphrase again:

4. You should get the following output:

Your identification has been saved in /root/keys/id_rsa.
Your public key has been saved in /root/keys/id_rsa.pub.
The key fingerprint is:
SHA256:y8UhhjQKgEfpy5Bv3/wiJFkAL53lEUp4f/rT12tunfM root@xongl
The key's randomart image is:
+---[RSA 2048]----+
|+=+.+.o |
|o+=* + o |
|.==oo . o . |
|o.. o .. o . |
| + + o S o |
| B o . o |
| . + + .o . . . |
| o * . . + + |
| . +.. +o. oE|


5. Open id_rsa with a text editor and copy the key.

6. Login into Xongl Cloud panel.

7. Click on deploy VM.
 
8. Select configuration and toggle to SSH key and paste the key.




  • 33 Users Found This Useful
Was this answer helpful?

Related Articles

How to connect to your Cloud Server

Download PuTTY. The "putty.exe" download is good for basic SSH. Save the download to your...

Deploying a VM

Step 1. Login into Xongl Cloud panel.Step 2. For first time use add some credit to account.Step...

Mounting a volume

Xongl Docs Mounting an Volume After attaching an volume you have to manually mount it to your...

Powered by WHMCompleteSolution