Add a sshd_config "RefuseConnection" option
authordjm <djm@openbsd.org>
Sun, 15 Sep 2024 01:09:40 +0000 (01:09 +0000)
committerdjm <djm@openbsd.org>
Sun, 15 Sep 2024 01:09:40 +0000 (01:09 +0000)
commitc45c7063014de0ed06f2cd637d5f4c089be5d708
treed0743eeebd0fd08d87a0358d9db263724d69a189
parent5f5a05a7831aab46e98f33c1d91fcebd0009bcee
Add a sshd_config "RefuseConnection" option

If set, this will terminate the connection at the first authentication
request (this is the earliest we can evaluate sshd_config Match blocks)

ok markus@
usr.bin/ssh/monitor.c
usr.bin/ssh/servconf.c
usr.bin/ssh/servconf.h
usr.bin/ssh/srclimit.h
usr.bin/ssh/sshd_config.5