I'm now using the local mode to run beaker tests and after running the tests multiple times the sshd_config file gets duplicated PermitUserEnvironment yes lines.
[root@localhost ~]# head -12 /etc/ssh/sshd_config
PermitUserEnvironment yes
PermitUserEnvironment yes
PermitUserEnvironment yes
PermitUserEnvironment yes
PermitUserEnvironment yes
PermitUserEnvironment yes
PermitUserEnvironment yes
PermitUserEnvironment yes
# $OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $