> 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/english/faq/troubleshooting/connecting-to-a-pbx-using-ssh/secure-shell.md).

# SSH Connection (Google Secure Shell)

SSH Connection using Google Secure Shell

{% hint style="info" %}
This method is available if you use Google Chrome for connection to the MikoPBX web interface.
{% endhint %}

### Enabling password access

1. Go to the "**System**" -> "**General Settings**" section.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fmmo1zWPeYEbEBJRy1FBb%2FENgeneralSettingsSectionMikoPBXWEB.png?alt=media&amp;token=de8d35ab-95c7-4081-a4a0-9ec2a66f66a2" alt=""><figcaption><p>"<strong>System</strong>" - "<strong>General settings</strong>" section</p></figcaption></figure>

2. Go to the "**SSH**" section. Toggle the "**Disable password logins**" switch (switch is enabled by default). Set your password for the SSH connection. **Save** the settings.

{% hint style="danger" %}
Do not use weak passwords! Always disable password-based SSH connections after you log out!
{% endhint %}

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fq1uG7YRMfILdZGhWOPoQ%2FENSSHPasswordAuth.png?alt=media&amp;token=e0ebaad0-a6cd-4721-bf0d-ba0741ed8201" alt=""><figcaption><p>Password-based access</p></figcaption></figure>

### Connection using Google Secure Shell

1. In the MikoPBX Web-interface, go to "Maintenance" -> "SSH console".

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FKGirgXs0iF6zstmJ4SKm%2FENSSHConsoleSectionMikoPBXWEB.png?alt=media&amp;token=ee6536e0-e93c-4ab7-81b4-36c9588709e1" alt=""><figcaption><p>"Maintenance" -> "SSH Console" section</p></figcaption></figure>

2. If you don't have the "**Secure Shell**" browser extension installed, you will be redirected to the extension store. Click "**Add to Chrome**." After installation is complete, return to the web interface and repeat **Step 1**.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FNgSi09v92IJl7LAyEkvV%2FENgshExtension.png?alt=media&amp;token=72af89a9-8cc1-4525-adf2-f267df0fd6af" alt=""><figcaption><p>Installing extension</p></figcaption></figure>

3. After redirecting to the Google Secure Shell tab, enter "**yes**" in the dialog box for a new connection. Press "**Enter**."

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fu5iwow6loyPXMC4v1UgH%2FnewFingerprintSSHGoogle.png?alt=media&amp;token=82fba61d-0f4b-4915-ae82-1b2466c37dee" alt=""><figcaption><p>Dialog box #1</p></figcaption></figure>

4. In the new dialog box, enter the previously set SSH password. Press "**Enter**."

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fdwa1O4GbYbkvwL7q6vEi%2FsshPasswordInput.png?alt=media&amp;token=d644563c-1b17-48a7-bc96-bf7e3fb372ce" alt=""><figcaption><p>Dialog box #2</p></figcaption></figure>

An SSH connection will be established. :tada:

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FIvyui29xL56Fm2XeC128%2FsuccessfulSSHConnectionGSS.png?alt=media&amp;token=474ac8ed-8d61-4c7f-b5d1-7409165fa661" alt=""><figcaption><p>Successful SSH connection</p></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/english/faq/troubleshooting/connecting-to-a-pbx-using-ssh/secure-shell.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.
