backup: Include sshd config file.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 13 Apr 2015 13:35:15 +0000 (15:35 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 13 Apr 2015 13:35:15 +0000 (15:35 +0200)
The sshd config file was not included in the backups, so if the port
was switched from the default one to another one, the changed value was
correctly restored and displayed in the WUI but still the original sshd
config file was present and the default port has been used.

This issue is fixed by this commit.

Fixes #10446.

config/backup/include

index d7a1d3a..159ff9a 100644 (file)
@@ -13,6 +13,7 @@
 /etc/hosts*
 /etc/httpd/*
 /etc/ssh/ssh_host*
+/etc/ssh/sshd_config
 /etc/logrotate.d
 /var/ipfire/auth/users
 /var/ipfire/dhcp/*