I’m reasonably new to FreePBX and am having an issue with configuring the SSH portion of the configuration.
I executed this command on both servers:
sudo -u asterisk ssh-copy-id -i /home/asterisk/.ssh/id_rsa.pub root@SecondaryServerIP
After it’s done, the primary server connects to the secondary via ssh with no password but the secondary is asking for a passphrase for the key (there isn’t one so hitting enter makes it go away) but then it asks for the root user password which shouldn’t happen. How do i fix this so it behaves just like the other connection?
sudo ssh -i /home/asterisk/.ssh/id_rsa root@xxxxxxxxxxxxxxxx
Enter passphrase for key ‘/home/asterisk/.ssh/id_rsa’: