]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 d7a1d3a329b1773a9ead5d4352cd2f88629c5989..159ff9a5837a530d711c089d59b6265965eee0db 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/*