- dtucker@cvs.openbsd.org 2006/07/12 11:34:58
     [sshd.c servconf.h servconf.c sshd_config.5 auth.c]
     Add support for conditional directives to sshd_config via a "Match"
     keyword, which works similarly to the "Host" directive in ssh_config.
     Lines after a Match line override the default set in the main section
     if the condition on the Match line is true, eg
     AllowTcpForwarding yes
     Match User anoncvs
             AllowTcpForwarding no
     will allow port forwarding by all users except "anoncvs".
     Currently only a very small subset of directives are supported.
     ok djm@
6 files changed
tree: a7485f1794bcab3a46c5f3efcf2a3ba630021be9
  1. contrib/
  2. openbsd-compat/
  3. regress/
  4. scard/
  5. .cvsignore
  6. aclocal.m4
  7. acss.c
  8. acss.h
  9. atomicio.c
  10. atomicio.h
  11. audit-bsm.c
  12. audit.c
  13. audit.h
  14. auth-bsdauth.c
  15. auth-chall.c
  16. auth-krb5.c
  17. auth-options.c
  18. auth-options.h
  19. auth-pam.c
  20. auth-pam.h
  21. auth-passwd.c
  22. auth-rh-rsa.c
  23. auth-rhosts.c
  24. auth-rsa.c
  25. auth-shadow.c
  26. auth-sia.c
  27. auth-sia.h
  28. auth-skey.c
  29. auth.c
  30. auth.h
  31. auth1.c
  32. auth2-chall.c
  33. auth2-gss.c
  34. auth2-hostbased.c
  35. auth2-kbdint.c
  36. auth2-none.c
  37. auth2-passwd.c
  38. auth2-pubkey.c
  39. auth2.c
  40. authfd.c
  41. authfd.h
  42. authfile.c
  43. authfile.h
  44. bufaux.c
  45. bufaux.h
  46. bufbn.c
  47. buffer.c
  48. buffer.h
  49. buildpkg.sh.in
  50. canohost.c
  51. canohost.h
  52. ChangeLog
  53. channels.c
  54. channels.h
  55. cipher-3des1.c
  56. cipher-acss.c
  57. cipher-aes.c
  58. cipher-bf1.c
  59. cipher-ctr.c
  60. cipher.c
  61. cipher.h
  62. cleanup.c
  63. clientloop.c
  64. clientloop.h
  65. compat.c
  66. compat.h
  67. compress.c
  68. compress.h
  69. config.guess
  70. config.sub
  71. configure.ac
  72. crc32.c
  73. crc32.h
  74. CREDITS
  75. deattack.c
  76. deattack.h
  77. defines.h
  78. dh.c
  79. dh.h
  80. dispatch.c
  81. dispatch.h
  82. dns.c
  83. dns.h
  84. entropy.c
  85. entropy.h
  86. fatal.c
  87. fixpaths
  88. fixprogs
  89. groupaccess.c
  90. groupaccess.h
  91. gss-genr.c
  92. gss-serv-krb5.c
  93. gss-serv.c
  94. hostfile.c
  95. hostfile.h
  96. includes.h
  97. INSTALL
  98. install-sh
  99. kex.c
  100. kex.h
  101. kexdh.c
  102. kexdhc.c
  103. kexdhs.c
  104. kexgex.c
  105. kexgexc.c
  106. kexgexs.c
  107. key.c
  108. key.h
  109. LICENCE
  110. log.c
  111. log.h
  112. loginrec.c
  113. loginrec.h
  114. logintest.c
  115. mac.c
  116. mac.h
  117. Makefile.in
  118. match.c
  119. match.h
  120. md-sha256.c
  121. md5crypt.c
  122. md5crypt.h
  123. mdoc2man.awk
  124. misc.c
  125. misc.h
  126. mkinstalldirs
  127. moduli
  128. moduli.c
  129. monitor.c
  130. monitor.h
  131. monitor_fdpass.c
  132. monitor_fdpass.h
  133. monitor_mm.c
  134. monitor_mm.h
  135. monitor_wrap.c
  136. monitor_wrap.h
  137. msg.c
  138. msg.h
  139. myproposal.h
  140. nchan.c
  141. nchan.ms
  142. nchan2.ms
  143. opensshd.init.in
  144. OVERVIEW
  145. packet.c
  146. packet.h
  147. pathnames.h
  148. progressmeter.c
  149. progressmeter.h
  150. readconf.c
  151. readconf.h
  152. README
  153. README.dns
  154. README.platform
  155. README.privsep
  156. README.smartcard
  157. README.tun
  158. readpass.c
  159. RFC.nroff
  160. rijndael.c
  161. rijndael.h
  162. rsa.c
  163. rsa.h
  164. scard-opensc.c
  165. scard.c
  166. scard.h
  167. scp.1
  168. scp.c
  169. servconf.c
  170. servconf.h
  171. serverloop.c
  172. serverloop.h
  173. session.c
  174. session.h
  175. sftp-client.c
  176. sftp-client.h
  177. sftp-common.c
  178. sftp-common.h
  179. sftp-glob.c
  180. sftp-server.8
  181. sftp-server.c
  182. sftp.1
  183. sftp.c
  184. sftp.h
  185. ssh-add.1
  186. ssh-add.c
  187. ssh-agent.1
  188. ssh-agent.c
  189. ssh-dss.c
  190. ssh-gss.h
  191. ssh-keygen.1
  192. ssh-keygen.c
  193. ssh-keyscan.1
  194. ssh-keyscan.c
  195. ssh-keysign.8
  196. ssh-keysign.c
  197. ssh-rand-helper.8
  198. ssh-rand-helper.c
  199. ssh-rsa.c
  200. ssh.1
  201. ssh.c
  202. ssh.h
  203. ssh1.h
  204. ssh2.h
  205. ssh_config
  206. ssh_config.5
  207. ssh_prng_cmds.in
  208. sshconnect.c
  209. sshconnect.h
  210. sshconnect1.c
  211. sshconnect2.c
  212. sshd.8
  213. sshd.c
  214. sshd_config
  215. sshd_config.5
  216. sshlogin.c
  217. sshlogin.h
  218. sshpty.c
  219. sshpty.h
  220. sshtty.c
  221. survey.sh.in
  222. TODO
  223. ttymodes.c
  224. ttymodes.h
  225. uidswap.c
  226. uidswap.h
  227. uuencode.c
  228. uuencode.h
  229. version.h
  230. WARNING.RNG
  231. xmalloc.c
  232. xmalloc.h