How to create key pair in OpenStack Dashboard on 3Engines Cloud[🔗](#how-to-create-key-pair-in-openstack-dashboard-on-brand-name "Permalink to this headline")
===============================================================================================================================================================

Open **Compute -> Key Pairs**

![keypair1.png](../_images/keypair1.png)

Click **Create Key Pair**, insert the name of the key (eg. “ssh-key”) and Key Type.

![keypair2.png](../_images/keypair2.png)

After generating Key Pair your new Private Key download window will appear. Click **Open with Text Editor**

![keypair3.png](../_images/keypair3.png)

![keypair4.png](../_images/keypair4.png)

Save the key as **“id\_rsa”** in the folder of your choice (in linux the keys are usually kept in **~./ssh** folder).

In case of linux you should change the permissions on the private key:

```
$ sudo chmod 600 id_rsa

```

![keypair5.png](../_images/keypair5.png)

Click key name in **Key Pairs** menu and read your **public key**. You can also save the key to a file like the private key. For example named **“id\_rsa.pub”**.

* To connect via SSH to your Virtual Machine using Linux, follow the steps in this FAQ:

[How to connect to your virtual machine via SSH in Linux on 3Engines Cloud](../networking/How-to-connect-to-your-virtual-machine-via-SSH-in-Linux-on-3Engines-Cloud.html.md)

* To connect via SSH to your Virtual Machine using Windows (Command Prompt), follow the steps in this FAQ:

[How to connect to a virtual machine via SSH from Windows 10 Command Prompt on 3Engines Cloud](../windows/How-to-connect-to-a-virtual-machine-via-SSH-from-Windows-10-Command-Prompt-on-3Engines-Cloud.html.md)