Difference between revisions of "Talk:SSH Port"

From SME Server
Jump to navigationJump to search
Line 19: Line 19:
 
  config setprop sshd TCPPort <newport>
 
  config setprop sshd TCPPort <newport>
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 
  
 
without
 
without

Revision as of 23:01, 13 April 2007

IMHO the first two steps of the procedure are not necessary as the configuration database value is used to alter the port. After changing this port the custom template has no additional value - Cactus 04:49, 21 March 2007 (EDT)


And instead of expanding templates and restarting services just signal-event, i think ...

signal-event remote-access

Snoble 19:37, 21 March 2007 (EDT)

Corrected. --PicsOne 03:57, 1 April 2007 (EDT)

Templates and services

Hi mmccan, and thanks for your corrections.

Viewing under signal-event remoteaccess-update I see there is not necesary to restart sshd service.

Then this is the final commands

config setprop sshd TCPPort <newport>
signal-event remoteaccess-update

without

/etc/init.d/sshd restart

--PicsOne 17:01, 13 April 2007 (EDT)