--- a/ssh_config +++ b/ssh_config @@ -17,6 +17,10 @@ # list of available options, their meanings and defaults, please see the # ssh_config(5) man page. +# Include configuration snippets before processing this file to allow the +# snippets to override directives set in this file. +Include /etc/ssh/ssh_config.d/*.conf + # Host * # ForwardAgent no # ForwardX11 no --- a/sshd_config +++ b/sshd_config @@ -10,6 +10,10 @@ # possible, but leave them commented. Uncommented options override the # default value. +# Include configuration snippets before processing this file to allow the +# snippets to override directives set in this file. +Include /etc/ssh/sshd_config.d/*.conf + #Port 22 #AddressFamily any #ListenAddress 0.0.0.0