projects/aports·blob master · refs

26 lines · 745 B

1--- a/ssh_config
2+++ b/ssh_config
3@@ -17,6 +17,10 @@
4 # list of available options, their meanings and defaults, please see the
5 # ssh_config(5) man page.
6
7+# Include configuration snippets before processing this file to allow the
8+# snippets to override directives set in this file.
9+Include /etc/ssh/ssh_config.d/*.conf
10+
11 # Host *
12 # ForwardAgent no
13 # ForwardX11 no
14--- a/sshd_config
15+++ b/sshd_config
16@@ -10,6 +10,10 @@
17 # possible, but leave them commented. Uncommented options override the
18 # default value.
19
20+# Include configuration snippets before processing this file to allow the
21+# snippets to override directives set in this file.
22+Include /etc/ssh/sshd_config.d/*.conf
23+
24 #Port 22
25 #AddressFamily any
26 #ListenAddress 0.0.0.0