Changes

From SME Server
Jump to navigationJump to search
399 bytes removed ,  09:54, 1 April 2007
Line 24: Line 24:  
=== Procedure ===
 
=== Procedure ===
   −
*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).
 
  −
mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config
  −
cp –rip /etc/e-smith/templates/etc/ssh/sshd_config/10Port /etc/e-smith/templates-custom/etc/ssh/sshd_config/
  −
 
  −
*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).
      
  db configuration getprop sshd TCPPort
 
  db configuration getprop sshd TCPPort
985

edits

Navigation menu