OpenBSD+OpenSSH_8.2: rc_check/reload/stop fail

Matthias mp1009 at
Mon Feb 17 01:39:43 AEDT 2020

With version 8.2 on OpenBSD, in order to get rc_check/reload/stop
working again, I needed to remove the '-x' option from the corresponding
functions in /etc/rc.d/sshd:

rc_reload() {
	${daemon} ${daemon_flags} -t && pkill -HUP -f "${pexp}"

rc_check() {
	pgrep -T "${daemon_rtable}" -q -f "${pexp}"

rc_stop() {
	pkill -T "${daemon_rtable}" -f "/usr/sbin/sshd"

Any better ideas?

More information about the openssh-unix-dev mailing list