Connecting via SSH (Linux/MacOS)
Connecting to MikoPBX via SSH using Terminal (Linux/MacOS)
Generating and Linking the Key
First, generate an SSH key. Open a terminal and enter the following command to create it:
ssh-keygen -t ed25519 -C "[email protected]"
In this example, an "ed25519" key will be generated with the comment "[email protected]" for future identification.
You can also specify a path where the key files will be saved. By default, keys are stored in ~/.ssh/id_ed25519.pub
. To set a custom path, add -f
and specify it, for example:
ssh-keygen -t ed25519 -f ~/.ssh/my_new_key

Next, you need to retrieve and copy the newly created public key. Enter the command:
cat ~/.ssh/id_ed25519.pub

Open the MikoPBX web interface and go to System → General Settings:
Paste your public key into the "SSH Authorized Keys" field:

Connecting via SSH
To connect via SSH, run the following command in your terminal:
ssh -i ~/.ssh/id_ed25519 root@mikopbxipadress
Replace the following with your actual parameters:
The path to your SSH key (if different from default).
The IP address of your MikoPBX in place of
mikopbxipadress
.
You will then be prompted for the SSH passphrase if you set one. Upon successful authentication, you will be connected to the MikoPBX console via SSH:

Last updated
Was this helpful?