*First, create a custom template to hold the new "Port" setting in /etc/ssh/sshd_config: (Only SME 6.x)
+
*Modify the firewall and sshd settings to allow inbound traffic on the new port (only the 2nd command is required, the first and third commands are included only to allow you to verify that the database was updated properly).
*Then change the port number to the new value (Only SME 6.x)
−
−
vi /etc/e-smith/templates-custom/etc/ssh/sshd_config/10Port
−
−
*Next, modify the firewall settings to allow inbound traffic on the new port (only the 2nd command is required, the first and third commands are included only to allow you to verify that the database was updated properly).