...
“Public key of this system” field will display the own system public key.
“Public key of other system” field will display the other (secondary / remote/ warmspare) system public key.We can copy and paste the other system public key to the “public
On primary server Copy the “Public key of this system” field ssh key and then login to the “secondary server FreePBX UI → Backup & Restore → Global Setting ” and paste this content into the “Public key of other system” field to make the ssh association between both the servers and vice versaand save & submit.
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”.
...