]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: add a ssh_config RefuseConnection option that, when
authordjm@openbsd.org <djm@openbsd.org>
Wed, 23 Jul 2025 05:07:19 +0000 (05:07 +0000)
committerDamien Miller <djm@mindrot.org>
Wed, 23 Jul 2025 05:26:50 +0000 (15:26 +1000)
commit40fb2dc4ece76c8f0c624d90a17bc1bbf47f3729
treef7298dab344c5012705208e8351f9dd5a8b636a8
parentdefc806574d2256036d69a291caf0f3484844de6
upstream: add a ssh_config RefuseConnection option that, when

encountered while processing an active section in a configuration file,
terminates ssh(1) with an error message that contains the argument to the
option.

This may be useful for expressing reminders or warnings in config
files, for example:

Match host foo
       RefuseConnection "foo is deprecated, use splork instead"

ok djg

OpenBSD-Commit-ID: 5b0072fcd08ad3932ab21e27bbaa66b008d44237
readconf.c
ssh_config.5