Can the Warm Spare Setup communicate on another port other than 22?

Can the Warm Spare Setup communicate on another port other than 22? If so how?

I followed the Wiki for Warm Spare set up which worked perfectly. I had previously changed the SSH port number so it wouldn’t get bott’ed all day but had to default them back to port 22 in order to get the warm spare to work. Is it possible to have them communicate on another port? Just didn’t know if it was something built into the code of FreePBX.

While I have not tried it, you may be able to use a user configuration file for SSH to do this.

Let’s say your SSH server is ‘sshserver.mydomain.com’ and you want to use port 54321, on the spare create or edit /home/asterisk/.ssh/config and add the following:

host sshserver.mydomain.com
port 54321

Then save the file, exit, and test.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.