Changes

From SME Server
Jump to navigationJump to search
624 bytes added ,  06:55, 2 April 2021
Line 414: Line 414:     
* trying backing up a SME Server you might encounter error or timeout on ssh, this is because of the AutoBlock function on sshd
 
* trying backing up a SME Server you might encounter error or timeout on ssh, this is because of the AutoBlock function on sshd
 +
 +
FOR a SME10
 +
config setprop sshd AllowHost backuppcIP/255.255.255
 +
signal-event remoteaccess-update
 +
 +
Before SME10:
 
  config setprop sshd AutoBlock disabled
 
  config setprop sshd AutoBlock disabled
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 
{{Tip box|if you disabled Autoblock, install denyhosts or fail2ban not to fall security.}}
 
{{Tip box|if you disabled Autoblock, install denyhosts or fail2ban not to fall security.}}
 +
 +
* Since SME10 my old configuration for backupin my local server fails. You need to edit your configuration. You have two choices : use ssh for rsync which is kind of not the best approach for localhost , or you can edit your config to change this
 +
Conf{RsyncSshArgs} = ['-e', '$sshPath -l root']
 +
to this
 +
$Conf{RsyncSshArgs} = ['-e', '/usr/bin/sudo -p']
 +
 +
You can also do that using the GUI in edit configuration / XFER search for RsyncSshArgs. New installation have the default template already modified.
    
=== Uninstall ===
 
=== Uninstall ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu