# Connect to Linux VM Instance via SSH Key

If you using Windows, you must use a third-party tools. The following instructions show how to connect to Linux VM using PuTTY with SSH key.

* Open **PuTTY** on your computer.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FbLeaE6HxEFgw13oDEDWx%2Fimage.png?alt=media&#x26;token=2f7dec15-1028-40e8-b289-d888e5422225" alt=""><figcaption></figcaption></figure>

* In the **Host Name** field, enter the **Public IP Address** of the VM that you want to connect, also the port number.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FCsI75jzYmBpmZuzktNpm%2Fimage.png?alt=media&#x26;token=d532e7a7-9ef3-4e36-9bd6-1353988fe50c" alt=""><figcaption></figcaption></figure>

* In the category list, **Expand SSH** and click **Auth**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FjiGdjQPhkZ4CFLEOpyi0%2Fimage.png?alt=media&#x26;token=1b4ec9f4-3401-4b4a-aa3a-b6c93cd237ab" alt=""><figcaption></figcaption></figure>

* Click **Browser**, choose private key that you saved before. Then click **Open**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FcW09OohlerP5FnDscxxP%2Fimage.png?alt=media&#x26;token=3411fe7e-ef7c-4663-966d-90a98fd2cf81" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FEq5Ikb6q1eXnyXm59uKs%2Fimage.png?alt=media&#x26;token=4a7ccd1f-97dd-4f6e-9ddc-2dd9099d065d" alt=""><figcaption></figcaption></figure>

* After that, click **open** to connect to your VM Instance.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FCWfPNcmo5Esl4SV92M6M%2Fimage.png?alt=media&#x26;token=6e8437b3-c997-4fe6-a21e-33054aac2ad9" alt=""><figcaption></figcaption></figure>

* It will be open the login session to your VM.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FpPTLGKZSiHt2fQ3Ux9St%2Fimage.png?alt=media&#x26;token=e06d4868-880c-45be-b43b-2e5fabb18679" alt=""><figcaption></figcaption></figure>

* Try login with user root and enter your passphrase key.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FSKhywutq8Edjettw2NXE%2Fimage.png?alt=media&#x26;token=3872c8bf-b577-4435-8887-5ba17d0a4b0a" alt=""><figcaption></figcaption></figure>

* If there is a notification **“Please login as the user “centos” rather than the user “root””**, so you only can login using “centos” user.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FaRsvOU7LwQde7vntwZ6v%2Fimage.png?alt=media&#x26;token=18a10e4c-fdee-4fcd-aa70-60010041228f" alt=""><figcaption></figcaption></figure>

* Please try login using “centos” user, now you can login to your VM instance.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FuDm6cLdbAotzhuhn0RVU%2Fimage.png?alt=media&#x26;token=b4f5013d-6cf4-43b2-9cfd-c5241bf6a112" alt=""><figcaption></figcaption></figure>
