# Remote Instance using Putty

In this guide we will run virtual remote control of the Service Portal AI machine using PuTTY from your computer.

{% hint style="warning" %}
To run remote control of virtual machines using putty, make sure you have done the following configuration:

a. [Create VPC](/deka-flexi/deka-flexi-network/vpc-network/create-vpc-network.md)

b. [OpenVPN Configuration](/deka-vpn/configuration-deka-vpn-openvpn.md)

c. [IPSec COnfiguration](/deka-vpn/configuration-deka-vpn-ipsec.md)
{% endhint %}

The case examples used in this guide are two projects, each of which has a virtual machine on an Instance in the Service Portal AI. The following IP addresses are used in each project.

| Column                     | Project A      | Project B       |
| -------------------------- | -------------- | --------------- |
| (a) VPN - Floating IP      | 103.191.14.149 | 103.168.135.220 |
| (b) VPN - Network          | 10.10.10.0     | 10.20.20.0      |
| (c) VPN - Network OpenVPN  | 20.20.20.0/24  | -               |
| (d) Instance - Gateway IP  | 10.10.10.1     | 10.20.20.1      |
| (e) Instance - Internal IP | 10.10.10.55    | 10.20.20.6      |

<figure><img src="/files/lausFcTWUWzJlqBj4D3w" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/CY5DoVKxeAvrEU65Zluy" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/WohSpF4vFZV6qWBzGXe3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ZNu1PhIEwT2UlemcCjzP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/qLMbZrqXAHSMfyuZzYlD" alt=""><figcaption></figcaption></figure>

Here are the steps to run remote control of virtual machines in the Service Portal AI using PuTTY:

* Make an OpenVPN connection using Viscosity Inline from Project A.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.83%20connect.png" alt=""><figcaption></figcaption></figure>

* Enter the Username and Password used according to the OpenVPN User list in Project A.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.84%20login.png" alt=""><figcaption></figcaption></figure>

* Run putty on your computer. Enter the IP address used by the virtual machine in Project A.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.85%20putty.png" alt=""><figcaption></figcaption></figure>

* Press the Accept button to enter the Project A virtual machine.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.86%20credential.png" alt=""><figcaption></figcaption></figure>

* Enter the username and password used by the virtual machine.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.87%20login.png" alt=""><figcaption></figcaption></figure>

* You have successfully logged into the Project A virtual machine.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.88%20login-instance.png" alt=""><figcaption></figcaption></figure>

To be able to test the connection to Project B, you must conImage Security on Project A on the Service Portal AI, namely adding the IP address of the subnet used by Project B.

* On the Project A page in the Service Portal AI, select the Security menu and press the Edit button to make configuration changes.

<figure><img src="/files/bqn7c8cuquceZdFkTmIB" alt=""><figcaption></figcaption></figure>

* On the Edit Security page, you will add two new rules to Inbound by pressing the New Rule button.

<figure><img src="/files/NQoL0SYgqFgG3coiBueb" alt=""><figcaption></figcaption></figure>

* The first type of rule is SSH, while the second type of rule is All ICMP Rule. In each Source column for both Types, enter the IP address of the subnet used by Project B, namely 10.20.20.0/24.

<figure><img src="/files/1d5eoh1Qb4F6JuVMFWqX" alt=""><figcaption></figcaption></figure>

* Press the Save button to save changes.

<figure><img src="/files/SooYobN1IS4DhwCF818z" alt=""><figcaption></figcaption></figure>

* Do the same steps to conImage Security on Project B by adding the subnet IP address on Project A, namely 10.10.10.0/24.

<figure><img src="/files/qYD7o7WgGj83EpXFL2fR" alt=""><figcaption></figcaption></figure>

* Enable IPsec on Project A, make sure the IP address used is the Project B subnet.

<figure><img src="/files/bxzPV17dI3UBEIds0p6W" alt=""><figcaption></figcaption></figure>

* Test the connection via Putty from the Project A virtual machine to the Project B virtual machine by inputting the following syntax: ping 10.20.20.6.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.95%20sec-add-ip.png" alt=""><figcaption></figcaption></figure>

* The results of testing the network connection to the Project B virtual machine were completed in 3005 milliseconds (± 3 seconds).

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.96%20sec-add-ip.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/deka-vpn/remote-instance-using-putty-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
