-
Notifications
You must be signed in to change notification settings - Fork 802
Open
Description
Summary of the new feature / enhancement
Implementation of Include
keyword
I would like to ask about this feature.
I have my subconfig like C:\ProgramData\ssh\sshd_config.d\my_config.conf
to override base config like on linux. But it doesn't seem to work on windows.
sshd_config file:
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
# default value.
Include __PROGRAMDATA__/ssh/ssh_config.d/*.conf
#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
C:\ProgramData\ssh\sshd_config.d\my_config.conf:
PasswordAuthentication no
I still can connect by password
There is no overrided info about it in docs https://github.com/PowerShell/Win32-OpenSSH/wiki/sshd_config
but base OpenBSD manual allows Include
subconfigs.
Proposed technical implementation details (optional)
Implementation of Include keyword
Metadata
Metadata
Assignees
Labels
No labels