# Connecting to a PBX using WinSCP

1. Download the WinSCP installer from the official website at the [link](https://winscp.net/eng/download.php)
2. Install the program
3. After installation, the main menu of the program will open

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

4. **Host Name** (or IP address) — MikoPBX IP address\
   **Port** — the default port for SSH connection is 22\
   **User name** — always specify root\
   **Password** — SSH password of your **MikoPBX**

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

5. 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>

6. To connect, click "**Login**"

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

7. After successful connection, the MikoPBX root folder will open for you

<figure><img src="/files/fnXmG7LZ8bOdF8zAKisO" 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-winscp.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.
