Securing PBX in Flash by changing SSH default Port

Secured Asterisk PBX



In this How-To we're going to walk you though changing the default SSH port on a Asterisk Based PBX in a Flash ( PIAF) system.

Step1

As root, use your favourite text editor (vi) to edit the sshd configuration file.
vi /etc/ssh/sshd_config


Step2

Edit the line which states 'Port 22'. But before doing so, you'll want to read the note below. Choose an appropriate port, also making sure it not currently used on the system.
# What ports, IPs and protocols we listen for
Port 8022

Step3
 
Switch over to the new port by restarting SSH.
/etc/init.d/ssh restart

Comments

Post a Comment