> For the complete documentation index, see [llms.txt](https://docs.mikopbx.com/mikopbx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mikopbx.com/mikopbx/faq/troubleshooting/connecting-to-a-pbx-using-winscp.md).

# Подключение к АТС с помощью WinSCP

1. Скачайте установщик программы WinSCP с официального сайта по [ссылке](https://winscp.net/eng/download.php)
2. Установите программу
3. В случае, если ранее вы подключались к MikoPBX по SSH соединению с помощью PuTTYб программа сразу предложит импортировать соединение

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2Fgit-blob-a274c5f5bc14b749c3b78fe0424ba335b08557ed%2F1%20(10).png?alt=media" alt=""><figcaption></figcaption></figure>

4. Если же подключения не было - нужно заполнять данные вручную

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2Fgit-blob-c97fe61b08005d9ba7e6b1c1b6e45a90f29e9fb0%2F2%20(45).png?alt=media" alt=""><figcaption></figcaption></figure>

5. **Имя хоста** - IP адрес MikoPBX\
   **Порт -** порт для подключения по SSH по умолчанию это 22\
   **Имя пользователя** - всегда нужно указывать root\
   **Пароль -** SSH пароль от Вашей **MikoPBX**

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2Fgit-blob-09ed0265463ab008ff006e9dee2dffa31a02bbaa%2F3%20(19).png?alt=media" alt=""><figcaption></figcaption></figure>

6. Перед подключением вам необходимо разрешить авторизацию по паролю в веб-интерфейсе MikoPBX, а также задать пароль для подключения: для этого перейдите "**Общие настройки**" -> "**SSH**"

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2Fgit-blob-6b984d43103cee2f5b6c7fdebee7e609574abf19%2F13%20(12).png?alt=media" alt=""><figcaption></figcaption></figure>

7. Для подключения нажмите "**Войти**"

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2Fgit-blob-7e92f3320de8e5ef5b0a35904519547f60955a21%2F4%20(23).png?alt=media" alt=""><figcaption></figcaption></figure>

8. После успешного подключения у вас откроется корневая папка MikoPBX

<figure><img src="https://3704471835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MPK4TuzRBnP7rt8htho-887967055%2Fuploads%2Fgit-blob-0159d58ade54bf6f2d8bae34d265302e712d0705%2F15%20(3).png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mikopbx.com/mikopbx/faq/troubleshooting/connecting-to-a-pbx-using-winscp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
