Advanced Recovery SSH

Howdy,

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 [email protected]

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 [email protected]
Enter passphrase for key ‘/home/asterisk/.ssh/id_rsa’:
[email protected]’s password: