# For Ubuntu / Mac User

:tv: Follow the video for detailed guidance

{% embed url="<https://drive.google.com/file/d/1nn681m99ijWRjQchSY6J7aoPCdASIudc/view?usp=share_link>" %}

* Open your terminal and run the following command to run the Connection.sh:&#x20;

```
bash <(curl -s https://raw.githubusercontent.com/launchnodes/ValidatorNodeProduct/main/Scripts/Connection.sh)
```

* In the *“Enter .pem file path”,* and Drag and drop the .pem file into the terminal and press enter.&#x20;
* In the *“Enter the Validator key zip file path”*, and Drag and drop the validator\_keys.zip file into the terminal and press enter.&#x20;
* In the *“Enter AWS public IPv4 and external DNS hostname: ”,* enter your public IPv4 and external DNS hostname. For example,&#x20;

&#x20;                    &#x20;**&#x20;`ec2-user@ec2-xxx-x-xxx-xx.compute-1.amazonaws.com`**

**Note:** Steps to find public IPv4 and external DNS hostname.&#x20;

1. Go to the [stack](https://console.aws.amazon.com/cloudformation/) you have created(*“cluster-creation-stack”*)&#x20;
2. In the output section you’ll find the IPv4 and external DNS hostname, as mentioned above

* Now the terminal will ask Are you sure you want to continue connecting, type “yes” and press enter. Now you will be logged into your linux terminal.&#x20;
* Now, enter the following command for wallet creation and importing.&#x20;

```
bash <(curl -s https://raw.githubusercontent.com/launchnodes/ValidatorNodeProduct/main/Scripts/TekuValidator.sh)
```

* Now, enter the number of validator nodes.
* &#x20;When prompted "Enter the validator\_keys password:", enter your validator keys password (enter the same password that you have set at the time of key creation and press enter). As you are typing/pasting the password in terminal It'll not be visible to you but It's getting typed in the backend.
* Now you should be able to see "Happy Staking, from Launchnodes..." on your screen. This means that it was successful.

{% hint style="info" %}
Service Creation Stack will create Task Definition for Validator Gateway Service and Validator Service, it will also run the services for Validator Gateway Service and Validator.
{% endhint %}


---

# 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://launchnodes.gitbook.io/teku-validator-node/teku-validator-node-set-up/importing-keys/for-ubuntu-mac-user.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.
