Connecting via SSH (Windows)
Connecting to MikoPBX via SSH using PowerShell (OpenSSH)
Last updated
Was this helpful?
Connecting to MikoPBX via SSH using PowerShell (OpenSSH)
Last updated
Was this helpful?
To begin, you need to install OpenSSH on Windows. You can do this from .
After installation, verify it by entering the following command in PowerShell:
You should see the OpenSSH version displayed:
Next, generate an SSH key by entering the following command:
After this, the key pair will be created in the specified directory. One file will contain the public key, and the other the private key.
Run the following command to retrieve the public SSH key:
Copy the public key from the output.
Open the MikoPBX web interface and go to "System" → "General Settings":
Navigate to the SSH section and paste the public key into the "SSH Authorized Keys" field in the following format:
Click "Save settings":
To connect via SSH, run the following command in PowerShell:
Replace the following based on your parameters:
The path to your SSH key.
The IP address of your MikoPBX instead of mikopbxipadress
.
You will then be connected to the MikoPBX console via SSH:
This will generate an "ed25519" key with the comment "" to identify it. You can specify a path for the keys by adding -f
and a path, for example: