Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printabletrue

Introduction

In this section, we will describe how to configure "SSH" which is useful in following scenarios -

...

Info

APPLICATION NOTES

Make sure you replace the SecondaryServerIP with the IP Address of your Secondary PBX. (use IP and not a hostname that may be common to both primary and warmspare; if fqdns are desired create 3 records the common name , specific name for primary and specific name for warm spare - ie mypbx.company.com , mypbx1.company.com , mypbx2.company.com)

If the Firewall is configured, pay attention to creating the right rule allowing the two servers to talk to each other.

FreePBX 17 +

In PBX 17+, We have improved the user experience by adding the option in the UI itself to copy the public key.

...

Repeat the above process to copy the secondary server key to the primary server.

There is no need to doing any manual cli operation now, however if someone wants then can do the same , it just in PBX17+ instead of “/home/asterisk/.ssh/id_rsa.pub” , please use “/home/asterisk/.ssh/id_ecdsa.pub” to add into “authorized_keys” in the path “/home/asterisk/.ssh”. 

Freepbx 15/16

We can use any one of the following 2 methods to copy the SSH keys to Secondary (or Warm spare) server. 

...