# 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="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FKAyLyrkSmnPWqNtiP0Lu%2F1.png?alt=media&#x26;token=4e846002-f4ab-40aa-991a-ecdae4fe909a" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FaFpmcjkB7rI9MXWSC25X%2F2.png?alt=media&#x26;token=d66f47cb-0c7a-4ca3-9056-88ce264a4873" alt=""><figcaption></figcaption></figure>

4. "**Auto-login username**" specify **root**&#x20;

&#x20;      "**Terminal-tipe string**" specify **xterm-256color**

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FAmB0Qr89VMWMgFNTZS0i%2F3.png?alt=media&#x26;token=982bc644-fb58-4492-aedc-ae59136e1ed9" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FFPodTvqhv9PUQSP2pMJk%2F4.png?alt=media&#x26;token=6c5e3b31-0ce0-4991-b106-5681f9a62c8e" 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="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FSENXTtrXl0gDV9PeCIVM%2F5.png?alt=media&#x26;token=c86be851-1b8e-4596-b43b-3b856204cdc8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2F5Unf9ADFZvqvyS6Rk7hD%2F6.png?alt=media&#x26;token=ea23bda2-3f12-4438-a763-2f5ac05269ce" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FUobslnCfpTIQU5swR3YE%2F7.png?alt=media&#x26;token=144ff41a-66be-46f9-a5a6-9c3bfec04a94" alt=""><figcaption></figcaption></figure>

9. Required data:

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

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FKsV27Ynsx3DtTvWaP5I3%2F8.png?alt=media&#x26;token=b2319a3c-92ea-4d81-8518-387d3869ca7f" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FLWIXVjgbiZcf5LYdiSUM%2F9.png?alt=media&#x26;token=af978ebd-3731-4d62-914b-da8745d86aba" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FcJ9Bn75IopjgKaupJ5mL%2F10.png?alt=media&#x26;token=ce0210ad-2829-40d3-9097-e02f2f820357" alt=""><figcaption></figcaption></figure>

12. &#x20;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="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FjRa7xpm5f9rjbcaskhdv%2F14.png?alt=media&#x26;token=a127d619-35ab-4f30-9a94-cf7303018b97" alt=""><figcaption></figcaption></figure>

13. &#x20;After entering the SSH password, the PBX menu will open

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FWCWYZTpcO9d8oTFjLRBg%2F11.png?alt=media&#x26;token=213985dd-ebdc-45d4-a4da-5f01a24e1d08" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fh0GBeJUgjFMGPNkBBY71%2F12.png?alt=media&#x26;token=33da05e5-8686-4eaa-9eb5-7ffa329afd48" alt=""><figcaption></figcaption></figure>
