# SSH Conenction (SSH Client - Putty)

1. Download the program to connect via SSH. This can be done on the official website at the [link](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)
2. Run the downloaded program. The main menu will open for you.

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

3. Go to the "**Connection**" - "**Data**" section

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

4. "**Auto-login username**" specify **root**

"**Terminal-tipe string**" specify **xterm-256color**

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

5. Go to the "**Translation**" section

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

6. «**Remote character set**» - specify **UTF-8**

   Set the flag «**Enable VT100 line drawing even in UTF-8 mode**»

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

7. Go to the section "**Session**" - "**Logging**". Here you can configure saving the output to a file:

<figure><img src="/files/3mYe70uxHSFuHJPsv7hg" alt=""><figcaption></figcaption></figure>

8. Go to the "**Session**" section

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

9. Required data:

* **Host Name** (or IP address) — IP address of the PBX
* **Port** — port for SSH connection by default 22
* Enter the session name and save its settings

<figure><img src="/files/8Yzc48hx3ZTXcjU8iAj6" alt=""><figcaption></figcaption></figure>

10. In the future, use the "**Load**" action to use the previously saved session

<figure><img src="/files/81oVxi5Gz7pBwGcN0iLV" alt=""><figcaption></figcaption></figure>

11. Perform the "**Open**" action to connect to the PBX and enter the SSH password

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

12. Before connecting, you need to allow password authorization in the MikoPBX web interface, as well as set a password for connection: to do this, go to "**General Settings**" -> "**SSH**"

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

13. After entering the SSH password, the PBX menu will open

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

14. To open the console, go to "**\[9] Console(Shell)**"

<figure><img src="/files/3FakqZjttTGL3sIBYCqL" 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.mikopbx.com/mikopbx/english/faq/troubleshooting/connecting-to-a-pbx-using-ssh/putty.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.
