sshd can not run extended tests without specifying match rules

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi.


I was trying to use "sshd -T" to check my ssh configuration. In my sshd_config file I have some Match rules, which I don't want to test, according to sshd manual pages (version 7.7_p1) the Match rules don't need to be applied, it's optional: "Optionally, Match rules may be applied by specifying the connection parameters using one or more -C options".

Also, in sshd.c line 1823 it creates a blank "connection info" which according to the comment, "will cause no predicate to match.".

But when I execute sshd -T, the next error is shown: "'Match User' in configuration but 'user' not in connection test specification.", obviously if I specify a value for user it works, but in my case I need to ignore Match rules.


Is it intended or is a bug? In the first case case, how can I ignore the Match rules?


Thanks

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux